Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion
History Inadequacies of the web-static pages. Dot com boom. The growing need for dynamic web content. CGI Scripts Perl C, C++ Visual Basic Script Active Server Pages The demand for application integration.
Introduction to Java Server Encompasses a broad range of topics. Servlets Java Server Pages Java Application Server In simple terms, defined as an instance of a JVM. One server can handle multiple requests. Threading
Servlets A Java servlet is a platform-independent Web application component. It is simply a Java class (a file containing bytecodes) that is loaded in the Java Virtual Machine (JVM) environment As an applet extends the functionality of a browser, the Java servlet extends a server. The applet is an amazing client program, and the servlet is an amazing server program.
Architecture... Servlet Here HTML code is embedded in Java code.
Java Server Pages Java Server Pages (JSPs) technology was developed by Sun Microsystems to separate the development of dynamic Web page content from static HTML page design. This is useful in the development life-cycle because the Web page designers do not have to know how to create the dynamic content, but simply have to know where to place the dynamic content within the page. Platform independence Can be developed on any platform and viewed by any browser Component reuse Make use of Object Oriented concepts
Architecture… JSP Here Java code is embedded in HTML code.
Java Application Server Java application servers are extensions of Web servers that provide the ability to execute server-side Java code. All modern Java application servers (including IBM's WebSphere) are comprehensive runtime platforms that do much more than serve dynamic Web pages and run Java code as a result of an HTTP request. Support for persistence, transactions, security, Extensible Markup Language (XML), and most recently Web services technologies such as Simple Object Access Protocol (SOAP) and Universal Description, Discovery, and Integration (UDDI).
Java Server Advantages Popular and widely supported Efficient Memory Management Easy integration Platform independence Multithreaded Works well with other technologies like: SOAP XML
Java Server Disadvantages Usually slow for web based applications. Not feasible for small/medium sized applications Better for small/medium applications. PHP Perl
Current Technologies IBM WebSphere BEA WebLogic Oracle 9i Application Server Apache Tomcat
Conclusion Neither free nor open source like PHP, Perl Efficient for large and enterprise applications Portable Economical Secure Last but not the least, powerful… Pay attention… it may help on your next job interview!