Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Java Beans > Server-Side Java Beans

Server-Side Java Beans

Server-side Java Beans are Beans that, rather than being part of the client, live out their lifecycle on the server. Newer server-side technologies like Servlets and Java Server Pages are users of server-side Java Beans. On the server side, Beans can be simpler than on the client side because they typically don't have a visual component nor must they be placed in a JAR file. They can just be used as a compiled Java class, which in itself makes them simpler to use than the client-side Beans.

As promised in the section on JSP in the Web server chapter, the following is the Appointments Bean developed for the featured Internet calendar application. As you look over the code, you'll notice that it looks more than vaguely familiar. It is essentially the same code from the code used previously for the JDBC, RMI, and servlet implementations of the calendar application; it is just packaged a little differently.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint