|
21-40 of 1229
Previous
Next |
|
Calling JTidy from Java to Convert HTML to XHTML
by Leonard Anghel
This tip shows how to invoke the JTidy open-source project from Java code to convert an HTML file to XHTML.
|
|
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.
|
|
XML Signature Core Validation Failure with Java and Apache Axis
by Chandan khanna
Added namespaces cause XML Signature core validation failures.
|
|
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.
|
|
Avoid Object Instantiation Within Loops
by Kulkarni Vasudeva
Creating new objects in loops can seriously damage performance.
|
|
Unzipping an Archive from a Servlet
by Leonard Anghel
This tip shows you how to unzip an archive from a Java servlet.
|
|
Write a Complex Query in Hibernate
by Leonard Anghel
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.
|
|
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.
|
|
Build a Custom Formatter for a Java.util.logging Logger
by Leonard Anghel
See how to develop a custom log formatter and customize the formatter for your logging needs.
|
|
Create a New Event Using AWTEventMulticaster
by Anghel Leonard
This code showa how to create a new event using AWTEventMulticaster.
|
|
Obtain the Local Absolute Path of a Class File
by
This tip shows how to obtain the local absolute path of a class file containing the specified class name, as prescribed by the current classpath.
|
|
Closing an SSLEngine Connection
by Leonard Anghel
This tip shows you how to correctly close a SSLEngine connection.
|
|
Developing a NIO-Based Client
by Leonard Anghel
As you probably know, New I/O offers many advantages such as speed and the ability to maintain a large number of concurrent connections.
|
|
Developing a NIO Server
by Leonard Anghel
This tip shows you how to develop a NIO based server.
|
|
Associate a ServerSocket with a ServerSocketChannel in an NIO App
by Leonard Anghel
This tip shows you how to create a ServerSocketChannel, to which you'll then associate an average ServerSocket.
|
|
How to Use Properties Files in Java
by Rajeev Khanna
In Java, you can easily create and use a properties file containing name/value pairs.
|
|
Using the Final Keyword in Java
by Ashu Passi
Learning the ins and outs of using Java's final keyword.
|
|
Encode and Decode URLs Using UTF-8
by Leonard Anghel
This tip shows you how to encode and decode your URLs using the UTF-8 character encoding.
|
|
Calling a SOCKS Proxy Server from Java
by Leonard Anghel
Learn how to call a SOCKS proxy server from Java code using the Socket class.
|
|
Authenticate to a Proxy Server
by Leonard Anghel
This tip shows how to provide a user's password to a proxy server.
|
|
21-40 of 1229
Previous
Next |