Unit-I

Event Handling: The delegation event model, Events, Event classes, Event Listener Interfaces, Using the Delegatiion event model,  Adapter classes, inner classes

AWT : Windows fundamentals, Working with frame windows, Control fundamentals, – Labels, Buttons, CheckBox, Radio button TextFileld, Understanding Layout Manager

Unit-II

Swing: JColorChooser, JComboBox, JFileChooser, JInternalFrame, JLabel,

JMenuBar, JOptionPane, JLayeredPane, JDesktopPane, JPanel, JPopupMenu,

JProgressBar, JRootPane, JScrollBar, JScrollPane, JSeparator, JSlider, JSplitPane, JTabbedPane, JTable, JTableHeader, JtoolBar, JToolTip, JTree, JViewPort, JEditorPane, JTextPane, JTextArea, JTextField, JPasswordField, JButton, JMenuItem, JCheckBox-MenuItem, JRatioButton-MenuItem JCheckBox, JRadioButton, JMenu.  

Unit-III

Introduction to servlets: Need for dynamic content, java servlet technology, why servlets?

Servlet API and Lifecycle: servlet API, servletConfig interface, ServletRequest and ServletResponse Interfaces, GenericServlet Class. ServletInputStream And ServletOutputStream Classes, RequestDispatcher Interface,HttpServlet Class, HttpServletRequest and HttpServletResponse Interfaces, HttpSession Interface, Servlet Lifecycle.

Working with servlets: organization of a web application, creating a web application(using netbeans) , creating a servlet, compiling and building the web application

Unit-IV

JDBC: Design of JDBC, JDBC configuration, Executing SQL statement, Query Execution, Scrollable and updatable result sets, row sets, metadata, Transaction.

JSP: Introduction, disadvantages, JSP v/s Servlets, Lifecycle of JSP, Comments, JSP documents, JSP elements, Action elements, implicit objects, scope, characterquoting conventions, unified expression language.

Unit-V

Java server Faces :

Need of MVC , what is JSF?, components of JSF, JSF as an application, JSF lifecycle, JSF configuration, JSF web applications (login form, JSF pages)

EJB: Enterprise bean architecture, Benefits of enterprise bean, types of beans, Accessing beans , packaging beans, creating web applications, creating enterprise bean, creating web client, creating JSP file, building and running web application.

Unit-VI

HIBERNATE: Introduction, Writing the application, application development approach, creating database and tables in MySQL, creating a web application, Adding the required library files, creating a java bean class, creating hibernate configuration and mapping file, adding a mapping resource, creating JSPs.

STRUTS: Introduction, Struts framework core components, installing and setting up struts, getting started with struts.

Practicals:

1. Write a java program to present a set of choices for a user to select Stationary products and display the price of Product after Selection from the list.

2. Write a java program to demonstrate typical Editable Table, describing employee details for a software company.

3. Write a java program using Split pane to demonstrate a screen divided in two parts, one part contains the names of Planets and another Displays the image of planet.

When user selects the planet name form Left screen, appropriate image of planet displayed in right screen.

4. Develop Simple Servlet Question Answer Application to demonstrate use of HttpServletRequest and HttpServletResponse interfaces.

5. Develop Servlet Application of Basic Calculator (+,-,*, /, %) using ServletInputStream and ServletOutputStream.

6. Develop a JSP Application to accept Registration Details form user and Store it into the database table.

7. Develop a JSP Application to Authenticate User Login as per the registration details.

If login success the forward user to Index Page otherwise show login failure Message.

8. Develop a web application to add items in the inventory using JSF.

9. Develop a Room Reservation System Application Using Enterprise Java Beans.

10. Develop a Hibernate application to store Feedback of Website Visitor in MySQL Database.

11. Develop a simple Struts Application to Demonstrate 3 page Website of Teaching Classes which passes values from every page to another.

12. Develop a simple Struts Application to Demonstrate E-mail Validator.

Books:

B1 Java Complete Reference, Herbert Schildt, Seventh Edition, Tata McGraw Hill.

(Unit I Chapter 20,21,22)

B2 Core Java Vol. II – Advanced Features, Cay S. Horstmans, Gary Coronell, Eight Edition,

Pearson Education (Unit II: Chapter 6, Unit IV: Chapter 4 and Oracle Java Documentation on UISWing)

B3 Java EE 6 for Beginners, Sharanam Shah, Vaishali Shah, Shroff Publishers and Distributors (Unit III: Chapter 5,6,7, Unit IV: Chapter 13,14,15,16, Unit V: Chapter 18, 1,9,24,25, Unit V: Chapter 33,34,35,36,37,38)

 

References:

Java EE Project using EJB 3, JPA and struts 2 for beginners, Shah, SPD

Java Programming A practical Approach, C Xavier, McGraw Hill

Java Server Faces A practical Approach for beginners, B M Harwani, Eastern Economy Edition (PHI).

Advanced Java Technology, Savaliya, Dreamtech.

Download Ebook – Advanced Java [PDF]