Sei sulla pagina 1di 7

12707 J2EE

UNIT I J2EE Platform: Programming for the Enterprise The Enterprise today Enterprise Architecture Syles J2EE Run Times J2EE API J2EE Architecture Containers Introduction to J2EE Technologies Naming and Directory Services. Data Base Programming with JDBC JDBC/ODBC Bridge Establishing a connection Creating and Executing SQL statements Querying Report statements Scrollable and Updatable Result Sets - javax.sql packages JDBC Data Sources UNIT II Introduction to Web Containers: HTTP Protocols Web Containers and Web Applications A simpleWeb Application Servlet Programming: Introduction to Servlet Programming - Servlet Implementations Servlet Configuration- Servlet Exceptions Servlet Life Cycle Servlet Request Interfaces Servlet Response Interface ServletProgramming Servlet Security Servlet Communication Servlet to Servlet Communication Servlet to Applet Communication UNIT III Advanced Servlets: Approach to Session Tracking HTTP Session Interface Demonstrating Session -Lifecycle with cookies A simple Shopping cart using Sessions Servlet Context Interface Servlet ContextLifecycle Event Handling Servlet Collaboration Servlet Chaining Request Dispatching UNIT IV Java Server Pages: Intro to JSP JSP Directives Scripting elements Standard Actions - Implicit objects Scope JSP pages as XML documents JSP Sample Program Design Strategies -JSP tag Extensions A simple TAG Writing TAG Extensions UNIT V Enterprise Java Beans: Overview of EJB EJB Middleware Architecture EJB Architecture EJBContainers and its services Design of EJB Tier Session Java Beans - Stateless and Stateful Beans,Entity Beans and Persistence - Container Vs Bean Managed Persistence, Message Driven Bean -Relationships, EJB Container Services.

Reference Books: 1. Professional Java Server Programming, J2EE 1.3 Edition, APress, Subrahmanyam Allamaraju and Cedric Buest 2. Complete Reference, J2EE, Jim Keogh, Tata McGraw Hills, 2004 3. http://www.java.sun.com/tutorial

Part - A

( 2 * 10 = 20 )

1.Describe the use of Naming and Directory Services. 2.What is the advantage of using PreparedStatement? 3.Why Http Protocol is called Stateless Protocol? 4.List out requirements of webapplications. 5.List out the methods of HttpSession interface. 6.What is Cookie?. 7.How does the JSP container identify the need for recompilation process. 8.Explain the syntax of taglib directive. 9.Write the JSP program to display the current date. 10.What is EJB ? Part-B (12 * 5 = 60)

11.Explain the Architecture of J2EE Container. (OR) 12.Explain with example Scrollable and Updateable ResultSets 13.Write short notes on the following: (a)Servlet To Servlet Communication (b)Servlet To Applet Communication (OR) 14.Explain the various ways to achieve ServletCollabration 15.(a)What is Servlet Context and Explain its life cycle. (b)Explain with example the uses of Servlet Context

interface (OR) 16.Explain the implementation of ShoppingCart Servlet. 17.Write short notes on: (a)JSP life cycle (b)implicit objects. (c)scope (OR) 18.Explain with example various JSP directives. 19.Explain the various services provided by EJB Container (OR) 20.Explain the design of EJB Tier.

Part - A (Answer All)

2 * 10 = 20

1.List out various J2EE APIs 2.List the Constants defined by ResultSet Interface.

3.What are the various exceptions caused by servlets? 4.Why HTTP is said to be stateless protocol. 5.Write a servlet program to check the session status. 6.List out the implicit objects available in JSP. 7.Write the XML syntax of directives and declarations. 8.Explain the lifecycle of Cutom tag in JSP. 9.What are the various services provided by EJB Container. 10.What is JavaBean? Part-B(Answer All) 5 *12 = 60 11.Explain about J2EE Architecture. (OR) 12.(a)Explain the steps required to establish Connection with database using JDBC. (b)Explain in detail Naming and Directory Services 13.Write short notes on the following: (a)ServletConfig (b)ServletRequest (OR) 14.(a)Explain various HTTP request methods (b)Explain life cycle of servlet. 15.Explain with example session lifecycle with cookies. (OR) 16.Explain in detail Servlet Colloboration 17.Explain with example various Scripting elements in JSP. (OR) 18.What is StandardAction?List out various Standard Actions available in JSP and explain any three of them.

19.Write short notes on the following: (i)Stateful and Stateless Session bean. (ii)Entity Beans. (OR) 20.Explain the design of EJB Tier.

Part - A 2 * 10 = 20 (Answer All) 1.What do you mean by Container? 2.List out the requirements of enterprise applications. 3.How does JDBC-ODBC bridge help to connect to the database. 4.Differentiate the HTTP request methods GET and POST? 5.What is deployment descriptor? 6.Explain the general concept used in session tracking .

7.Explain the steps required to create Cookies using servlet API? 8.List out attributes of Page directive. 9.Explain the role of expressions in JSP. 10.Differentiate between stateful and stateless session beans.

Part-B (Answer All)

5 * 12= 60

11.Expalin the following Enterprise Architecture Styles. (a)2-tier (b)3-tier (c)n-tier (OR) 12.What is ConnectionPooling?Differnetiate client and server side Connection Pooling.Explain the implementation of server side Connection Pooling. 13.Discuss in detail about Servlet life cycle. (OR) 14.Write short notes on th following (a)Generic Servlet (b)HttpServlet (c)SingleThreadModel 15.Give a brief account on various approaches used for session tracking. (OR) 16.Explain with example session life cycle with and without

Cookies. 17.Explain with example all the standard actions required for including bean components in JSP (OR) 18.Explain in detail various JSP design Strategies. 19.Explain the Middleware Architecture Of EJB. (OR) 20.Explain in detail about any two services provided by EJB container

Potrebbero piacerti anche