0% found this document useful (0 votes)
13 views1 page

Advanced Java Programming Tasks

The document outlines an Advance Java assignment consisting of five tasks. These tasks include creating a Java applet for audio playback, a servlet for tracking user visits with cookies, an MVC application using a JavaBean and JSP, implementing a Singleton pattern for database connection management, and creating a stateless EJB for simulating banking transactions. Each task focuses on different Java technologies and design patterns.

Uploaded by

kiaranitkiara
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

Advanced Java Programming Tasks

The document outlines an Advance Java assignment consisting of five tasks. These tasks include creating a Java applet for audio playback, a servlet for tracking user visits with cookies, an MVC application using a JavaBean and JSP, implementing a Singleton pattern for database connection management, and creating a stateless EJB for simulating banking transactions. Each task focuses on different Java technologies and design patterns.

Uploaded by

kiaranitkiara
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd

Advance Java Assignment

[Link] a Java applet that plays an audio clip when the applet is loaded. The audio clip should play in a
loop.

[Link] a servlet that tracks the number of visits for each user using cookies. Each time the user visits the
servlet, increment the visit count and display it on the webpage.

[Link] a simple MVC (Model-View-Controller) application. The Model will be a JavaBean with user
information. The View will be a JSP page displaying the user data. The Controller will be a servlet that
processes the request and forwards data to the JSP.

[Link] a Singleton pattern for managing a database connection in a J2EE application. The Singleton
class should

a)Return a single Connection object to all users.

b)Ensure that the connection is created only once and reused for all database operations.

[Link] a stateless EJB that simulates a banking transaction, transferring money from one account to
another. If the transfer fails (e.g., insufficient funds), the transaction should be rolled back

You might also like