Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > Java > Java APIs

Java APIs

AWT
Enterprise JavaBeans
JDBC
Swing
1-20 of 441     Previous     Next
Managing Concurrent Requests with EJB Containers
by Anghel Leonard
A limitation of EJB containers is that they can't serialize complex objects. Find out how the PrePassivate and PostActivate methods overcome this shortcoming.
Using EJB Interceptors for Java EE Audits
by Leonard Anghel
With EJB interceptors, you can access the name, parameters, and EJB context of business methods.
How to Detect JFrame Resizing
by Sterling Jordan
To know when a user is resizing a JFrame, catch the resize action using this tip's code.
How to Declare a java.util.Date in a EJB 3.0 Entity
by Leonard Anghel
To map a date value to a Java date in EJB 3.0, use this code.
Writing a Parameterized SQL Query in EJB 3.0
by Leonard Anghel
Follow this DELETE statement example to write parameterized SQL queries in EJB 3.0.
Inject an EJB 3.0 into the init() Method of a Servlet
by Leonard Anghel
This tip shows you how to inject an EJB 3.0 into the init() method of a servlet.
Developing a NIO Server
by Leonard Anghel
This tip shows you how to develop a NIO based server.
Load an Image Using the JAI API
by Leonard Anghel
Find out how to use JAI API to load an image in just three lines of code.
Apply an Identical Transformation to a DOM Tree Using TrAX
by Leonard Anghel
The code in this tip is a full example that applies an identical transformation to a DOM tree.
Wrap the Result of an XQuery Query into an XML Document
by Leonard Anghel
Wrapping the result of an XQuery query into an XML document is very useful if you're working with atomic values.
Monitoring AWT Events with the AWTEventListener Class
by Leonard Anghel
The AWTEventListener class' sole purpose is to view events. All you have to do is to implement the eventDispatched method.
Look Up a Bean Interface in EJB 3.0
by Leonard Anghel
In principle, in EJB 3.0, you can access a bean from another bean by looking it up in the interface (local or remote). Find out how.
Does Your RDBMS Support Savepoints?
by Leonard Anghel
Before using savepoints in your application, you need to be sure that your RDBMS supports this facility.
Passivation/Activation of a Stateful Bean in EJB 3.0
by Leonard Anghel
The EJB container needs help when dealing with nonserializable objects. Find out how to provide it.
Using the FOP-to-AWT Viewer
by Leonard Anghel
When you want to use the FOP-to-AWT Viewer from a Java application, you can use the ExampleAWTViewer.java.
Using the Logger to Trace JDBC Driver Managers and Drivers
by Mahendar Aleti
Using java.util.Logger as your logging/tracing tool allows you to take advantage of the Logging framework.
Batch Processing in Hibernate
by Leonard Anghel
Suppose you need to insert 200,000 records into a database in Hibernate. You'll need to adjust these settings.
Firing Focused JButtons with the ENTER Key
by Milan Zivkovic
This code corrects a glitch in the Java 1.2 user interface.
Tracking Memory Leaks in Java
by Stephen Friend
Find out how you can track memory leaks in Java.
Suppress Logs from Libraries
by Amit Shah
How many times have you tried to get rid of the intrusive log messages from the API you're using? The solution is easy: in your log4j configuration file, just include a logger name for the vendor and suppress their log messages.
1-20 of 441     Previous     Next
Sitemap