In this entry we will discuss basics of using NIO.2. The FileSystems, Path and FileStore objects are discussed with some details.
I will write a series of blog introducing what are new features for handling I/O in Java 7. In the first part we are just going to check what do we have in Java 7 for dealing with I/O requirements which were not included in the previous versions of Java platform standard edition.
Recently, I faced a couple of unpleasant XML translation tasks and found the Scala XML library to be a pleasant and powerful alternative to (groan) XSLT or (ugh) the JavaSE XML library. If you ever need to write a program that tweaks a bunch of XML files, give Scala a try!
Would you send your food back at a restaurant if they left a food wrapper inside.
Would you complain to the car to the shop if they left the used oil jug under your hood?
Why then is software shipped with orphaned, obsolete software with it?
<p>This article is about JMath, a Java API for doing serious math.</p>
There is an unwritten tradition that Hector Conway's Game of Life must be implemented in every programming language and every GUI toolkit. Well, OK I just invented this tradition, but it's a smart introduction and Life is one of the easiest games / cool animations you can program. But it's not too simple that we can't learn a few important things about JavaFX...
This is a relatively long entry about OpenMQ covering everything from installation up to clustering and load balancing. If you want to start using OpenMQ or you are looking to use it in a highly distributed system, this entry is for you. this entry discuss everything from installation to clustering
Java EE Security refcard is available for download. This refcard covers Java EE 6 security and discuss how each application server supports the specs. The refcard covers authentication, authorization, and transport security in Web Application, EJB application and web services by introducing the concept and the related annotations and deployment descriptors which help us realize the concept.
Once again, we will offer free courses and workshops for Sun Java Certification.
Two talks at JavaOne this year:
S313580 - "Swinglabs Dev Update" with Karl and Alex ... I hope guys will do most of the talking :D
S314239 - "Building Content Management solutions based on Java Content Repository" together with Greg
BTW for those wondering what is happening with the swinglabs.org, server have been recently moved around yet again. It is now in so...
JavaFX 1.3, codename SoMa, was released at long last on April 22 - after some delays (originally due November 2009) and feature cuts (the new Prism toolkit has shipped but in EA status). In this blog I will explore the performance improvements of JavaFX's graphics stack, including Prism. Just take a cup of coffee to ride this blog - it's long, seven miles.
This is the first edition of a new column I'll be writing each weekend titled "Java.net: the Week in Review." In the column, I'll present all of the previous week's Java Today news items, a selection of java.net blog posts, polls, and spotlights...
James Gosling leaving Oracle/Sun
Content available at: http://blogs.sun.com/arungupta/entry/spark_it_2010_trip_report
For meanwhile more than 25 years I am writing computer programs. More than a decade I spent with programs accessing databases, virtually always relational ones. I soon learned that this is rather hard work. Not only that you need to know about the theory behind RDBMS iself, but also you need to know the technical APIs (like ODBC, ADO, RDO, JDBC, JDO, JPA, CMP, ...), the structure of...
In which our hero makes Jersey dance in ways that probably make the Jersey authors take to their sick beds with a headache.
If you wonder whether the style of use with JDBC API has an impact of performance, you might like to read my latest blog entry on Head Crashing Informatics. While the entry mostly is about tuning SQL Anywhere's BLOB handling performance, it contains an interesting aspect: There are three ways to deal with BLOBs in JDBC, and the performance difference is tremendous. While obvious for the JDBC...
In this entry we discuss what Application Server Management Extension (AMX) and Java Management Extensions (JMX) are, how we can use them to develop custom administration, management and monitoring solutions for GlassFish v3. The article contains tens of diagrams and samples.
I'v migrated code from spring-security 2.0.5 to be able to use NTLM on spring-security 3.0.2. NTLM isn't supported anymore official by SpringSource but after some refactoring I was able to use NTLM without problems.
This article shows how we can use Spring Secirity and Spring remoting together to create a Spring Service in a Web application, secure it using Spring Security and later on invoke it from a Java SE application.