The samples bundled with GlassFish v3 Preview will be shown at the GlassFish EE SDK Booth. Each sample writer need to provide messaging for their sample in the following table.
Technology |
Sample Name |
Owner |
Messaging |
JPA 2.0 |
locking |
Mitesh |
This sample demonstrates Pessimistic Locking, a new feature introduce in JPA 2.0. It contrasts use of Pessimistic Locking versus Optimistick Locking. It demonstrates how using Pessimistic locking avoids transaction failures in concurrent environment. Please refer to the provided document of the sample for more details. |
Servlet 3.0 Security |
web-security-annotation |
Nithya/Kumar Jayanti |
This sample demonstrates how web-security annotations like PermitAll, DenyAll, RolesAllowed could be used in servlets 3.0. Please refer to the provided document of the sample for more details. |
Servlet 3.0 Security |
http-method-omission |
Nithya/Kumar Jayanti |
This sample destmonstrates the use of the <http-method-omissions> in web.xml which is the set of methods denied access as opposed to the <http-methods> which are allowed access. Please refer to the provided document of the sample for more details. |
Servlet 3.0 Security |
programmatic-login |
Nithya/Kumar Jayanti |
This sample demonstrates the usage of programmatically logging in using login() and logout() methods. Please refer to the provided document of the sample for more details. |
Connector Architecture 1.6 - EOD features - annotations |
mail resource adapter using annotations |
Jagadish |
Demonstrates the usage of various annotations defined in connector 1.6 specification for developing a resource-adapter without using deployment descriptor . Refer the documentation of the mail-connector sample for more details. |
EJB 3.1 |
ejb31-war |
Ken Saks |
This sample shows some of the ease-of-use enhancements and new features introduced in EJB 3.1. It consists of a Singleton session bean component packaged in a .war file along with a servlet. The Singleton exposes a "no-interface" local view, which is a simple way of allowing the bean to be called without having to write a separate business interface. |
EJB 3.1 |
automatic-timer |
Marina Vatkina |
This sample demonstrates how to use new EJB 3.1 @Schedule annotation to create an automatic timer. Such timer is created by the EJB container during deployment processing. No user interaction or special method invocation is required. The timer expiration is specified with cron-like syntax. The application consists of a stand-alone EJB module and a stand-alone Java SE client i.e. it does not require an application client container to run. |
Servlet 3.0 |
annotation-war |
Shing Wai Chan |
This samples demonstrates how to use @WebServlet, @WebFilter, @WebListener to write an web application without web.xml. Please refer to the provided document of the sample for more details. |
Servlet 3.0 |
async-request-war |
Shing Wai Chan |
This samples demonstrates how to use asynchronous API to write a chat room application. Please refer to the provided document of the sample for more details. |
|