Thursday, November 20, 2008

Enterprise Java Beans(EJB) and Java Server Pages(JSP)


EJB is a managed, server-side component architecture for modular construction of enterprise applications.
The EJB specification is one of several Java APIs in the Java Platform, Enterprise Edition. EJB is a server-side model that encapsulates the business logic of an application.

JSP is a Java technology that allows software developers to dynamically generate HTML, XML or other types of documents in response to a Web client request. The technology allows Java code and certain pre-defined actions to be embedded into static content.

Fig 1 and Fig 2 best illustrates the example of EJB and JSP in application architectures. They will be very useful in the creation of the technologies needed to program web applications in Java using Servlets 2.3, JSP 1.2, EJB 2.0 and client-side programming with JavaScript.

No comments: