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