developerWorks: CSP for Java Programmers

No Comments

The CSP for Java Programmers series on developerWorks teaches us how to work with Communicating Sequential Processes, a framework on top of Java's threading library that allow you to create parallel processes that share objects while avoiding deadlocks. Alas, binary only..

Java remote debugging options

Comments Off

To activate socket debugging in java, add the following to java_opts:

-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

Then connect to port 8787 using your favorite debugging tool..

Weblogic: Setting startup username and password

Comments Off

To set username and password on weblogic, add the following to JAVA_OPTS:

-Dweblogic.management.username=system -Dweblogic.management.password=weblogic

(or whatever the new passwords are)..

Blueprint Solution: AJAX Autocomplete, RT Form validation and more

Comments Off

The Java Blueprint solutions catalog has added a section on AJAX, describing how autocomplete, real time form validation, progress bars and pseudo-push may work..

Tomcat 5.5: DB Datasource with context.xml

Comments Off

Explains how to define a datasource connection for your web application using context.xml More

Log4j configuration file

Comments Off

A log4j configuration file sample. More

Non-leaky query reads

Comments Off

Doing a select statement without leaking connections.
More

Obtaining a connection through JNDI

Comments Off

How to obtain a connection through JNDI. More

Java: Concurrent Programming with J2SE5.0

Comments Off

This article provides an overview and introductory tutorial to the new concurrency mechanisms that have been added to J2SE 5.0..

Folding in Eclipse Text Editors

Comments Off

In this article on the Eclipse website, Prashant Deva explains the new projection infrastructure introduced in the JFace Text framework and shows how to extend the XML Editor example provided with Eclipse to allow folding of text..

Older Entries Newer Entries