These two quick JSF bean backing tips show how to extract request parameters and redirect page loads.
Java EE 6 supports a suite of five scopes, each with its own behavior for managing the user's interaction with a Java Web application. Find out how and when to use them.
With EJB interceptors, you can access the name, parameters, and EJB context of business methods.
If your Eclipse (Ganymede) installation with PermGem is raising out-of-memory errors, here's a possible solution.
This code snippet creates a Validator that you can use to validate an XML document represented as a DOMSource.
You don't need a browser to send a cookie to a server. This tip shows you how to do it from Java code.
This tip shows how to invoke the JTidy open-source project from Java code to convert an HTML file to XHTML.
To map a date value to a Java date in EJB 3.0, use this code.
Follow this DELETE statement example to write parameterized SQL queries in EJB 3.0.
For
Java | April 24, 2009
This tip shows you how to unzip an archive from a Java servlet.
This example shows how to use the findByExample method in Hibernate in conjunction with the SQL AND operator to find and log in a user given an email address and password.
This tip shows you how to inject an EJB 3.0 into the init() method of a servlet.
This tip shows how to destroy a Logger from the ServletContextListener's contextDestroyed method in the application context.
See how to develop a custom log formatter and customize the formatter for your logging needs.
For
Java | February 24, 2009
This tip shows you how to correctly close a SSLEngine connection.