Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Search the Tips
Tip Bank > Java > Java APIs

Java APIs - Page 2

Enterprise JavaBeans
21-40 of 448     Previous     Next
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.
Extract JAR and ZIP Entries with JarURLConnection
by Leonard Anghel
This tip includes code you can use to extract JAR and ZIP Entries with JarURLConnection.
A List of JDBC Drivers
by Elayaraja David
If you need to access a database with Java, you need a driver. This is a list of the drivers available, what database they can access, who makes it, and how to contact them.
Use the Robot Class for Automatic Keyboard and Mouse Control
by Kameswari Sreedharan
The code uses the Robot class to give you automatic keyboard and mouse control.
Use the "Service Locator" Design Pattern with the J2EE Architechture
by Mouli Chandra
This tip is an extension of a Design Pattern called "Service Locator" for the J2EE architecture. Generally, the "Service Locator" pattern returns a home object by merely accepting a string, usually a mapping for a JNDI name.
Use java.util.Observable to Monitor Object State changes
by Amit Tuli
Use the class java.util.Observable to monitor Java objects for any change in their states.
Closing JDBC Objects Explicitly Can Save You Headaches!
by Keith Naas
If you're closint database connections directly—without closing the ResultSet or Statement, you've been causing yourself unnecessary trouble.
Improve Performance by Re-using EJB Homes and DataSources
by Gautham Muthuravichandran
Obtaining EJB homes and DataSources from an application server requires the allocation of expensive resources. Free up these resources by caching and reusing EJB Home objects and the DataSource objects.
Convert Your Data to Decimal/Integer Value
by Sridhar MS
Converting input data into decimal/integer format can be tedious, but this tip tells you how to use the Java API to improve the process.
by M.Fahim Zahid
Write a Primary Key Class in CMP EJB
by Elayaraja David
Insert an Image into a Database Using JDBC
by Elayaraja David
How to Use SavePoint in JDBC
by Elayaraja David
Extend Swing's JTable to Support Rendering of Different Cell Types in a Column
by Lara D'Abreo
21-40 of 448     Previous     Next
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date