Monday, December 31, 2007

JHTML

Today lets talk about JHTML, a few things that i learned about it. JHTML is one of the earlier standards of server side scripting using java. Later parts of this technology is licensed by SUN MICROSYSTEMS to develop JSP. Even though many popular sites use JHTML, JSP is more popular. JHTML is Java within Hyper Text Markup Language. The http requests are sent to the HTTP server which on encountering the java code transfers it to the Java Application Server. Here first a .java file is generated from the HTML file and then the .java file is converted into a .class file. This .class file is used to generate the dynamic web pages at the server side that is then sent to the client side.

Saturday, December 1, 2007

creating an eclipse plugin

hey, today lets talk about creating a basic eclipse plug in 1) start an eclipse application, go to file -> new.. -> Other.. -> Plugin Development -> Plug in Project 2) Select a name for the plug in project click next and fill in the details for the plug in 3) click next and choose from the different types of templates and click finish. Well now we have the plug in displayed in the package explorer 4) right click on the plugin.xml file and select pde tools -> ant build file. We now have an ant script generated by name build.xml 5) So far we created the sample "Hello World" plug in 6) To run the application open the run dialog and create a new configuration of "Eclipse application" 7) we can now see that a new eclipse application is opened and an additional menu bar is added or a tool bar button is generated based on the template that we choose during the plugin project creation 8) Clicking on that application will have the plug in started This is just a basic plug in application where additional functionalities can be added to the application to make more complex plug ins