JDBC, EJB, Java IDL, JNDI, JTS, Servlets, the list goes on. There is limitless possibilities that arise when one is developing web applications using the JSP technology. Read more to get a glimpse at how to develop JSP pages using Tomcat.
A question many web developers have asked themselves over the years. Personally, I remain unbiased when it comes to selecting a server-side scripting technology. JSP remains one of the most prominent web development technologies due to its scope, having full access to Java API. A strong asset, in which had lead to other technologies following in their footsteps.
For those unfamiliar to JSP, JSP is a server-side scripting technology much like ASP and PHP 4, but is tremendous when it comes to tackling the most troublesome tasks. JSP uses many of APIs, building up it web applications capabilities. The web application may be able to invoke Enterprise JavaBeans (EJB), access CORBA services (Java IDL), communicate with databases for dynamic web site (JDBC), utilize Java’s directory services (JNDI), and transact with Java’s transaction services (JTS) to name a few.
For those who are Java developers, JSP will inevitably be a “walk in the park” to learn, since JSP in implemented as Java would. One important note one must take is that JSP splits up its processes into two sections, presentation logic and Application logic. This means that HTML coding is separated from the Java coding.
In the following article, issues relating to the importance of this technology will be highlighted as well as a few examples to lead the way for you to start JSP developing. One important thing to note is that this article is demonstrating small scope in what JSP can do for you. The platform that I’m working off is Windows XP, but the way JSP is setup is similar in Unix based systems also.
Also, I'll provide a couple of simple JSP files to illustrate some ways JSP can be used. These are only basic, just to give you a idea of the way JSP operates.