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 - Page 2

AWT
Enterprise JavaBeans
JDBC
Swing
21-40 of 445     Previous     Next
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.
Autoboxing/Unboxing
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
Deprecate Old APIs
by Ruchi Dhar
Debugging Variables Made Easy
by Mark Buckley
At one time or another, all ASP progrmmers have used RESPONSE.WRITE to write out a variable on the screen, ensuring that the variable is passing correctly or has the correct value. Then, when the ...
Generate a Script-name Independent HTML Form
by Hitesh Dave
This tip is useful for large, server-side scripts containing lots of functions/procedures that generate HTML forms. ...
21-40 of 445     Previous     Next
Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date