Wednesday, June 25, 2008

Creating EJB3 Using Netbeans And Glassfish

Netbeans 6.x brought nice features and let the web development much easier. You can create many things in a ".VS-style", in other words, drag-and-drop components on the User Interface. A good example of this it is the Visual Java Server Faces features from NetBeans 6 and the Web Service module.

Netbeans also brought Glassfish Application Server as its official server. Glassfish is the the RI (Reference Implementation) from JEE 5, therefore it is the better choice when you want to work with EJB 3.

Advanced Web Service Interoperability In Easy Steps | NetBeans Zone

This article is intended for programmers who are interested in adding additional qualities to their services, clients, or SOA solutions, as well as for beginners in Java web service development. You will learn how to use NetBeans IDE 6.1 to develop Java web service clients and services that can interoperate with Microsoft .NET 3.0 clients and services, how to use encryption and signatures to protect confidentiality and integrity of message transmission without need for SSL, and how to use Reliability features to ensure that none of your application messages are lost or delivered twice.

Wednesday, June 18, 2008

Top Firefox config tweaks

The Firefox homepage calls the web browser "fully customizable to your online life," and that's not just marketing claptrap. Beyond the extensive options available in its menus and dialogs, there's a lengthy set of advanced Firefox preferences that can customize the browser to your specific needs. Sure, your brother-in-law's not likely to edit Firefox's default configuration, but you? You're a power surfer and you want your web browser your way.

Firefox 3: Power User's Guide to Firefox 3

You already know about Firefox 3's marquee new features, but now it's time to dig deep and unearth the shortcuts, tweaks, and even Easter eggs that Mozilla marketing doesn't mention. In honor of today's official release of Firefox 3—at 10AM Pacific Time—let's dive in past Firefox 3's most talked-about feature-set into its lesser-known power uses, tricks, and customizations.

Saturday, June 14, 2008

Send Your Name to the Moon

Sign up to send your name to the moon. Names will be collected and placed onboard the LRO spacecraft for its historic mission bringing NASA back to the moon. You will also receive a certificate showcasing your support of the mission.

Tuesday, June 10, 2008

Sun Academic Initiative Program

Sun Academic Initiative Program

Take the online course of Sun technologies for FREE! based on 2 websites:
http://learningconnection.sun.com
http://sunsite.scut.edu.cn

Nearly 60% discount for the Sun Certificate !!!
SCJP: Sun Certified Java Programmer
SCSA: Sun Certified System Administration for the Solaris Operating System
Sun Certified Developer for Sun Application Server

Monday, June 02, 2008

Javadoc Analyzer in NetBeans 6.1

NetBeans 5.5 contained a useful tool called the ‘Javadoc Auto Comment’ feature. With the heavy rewrite of the NetBeans internals in version 6.0, the auto comment tool as we knew it was stripped out. This was down with some howling and protests, but at least there was a good reason (and not simply for the heck of it).

Send and receive SOAP messages with SAAJ

In this tip, author and developer Nicholas Chase shows you how to use the SOAP with Attachments API for Java (SAAJ) to simplify the process of creating and sending SOAP messages.

The foundation of Web services lies in the sending and receiving of messages in a standard format so that all systems can understand them. Typically, that format is SOAP. A SOAP message can be generated and sent manually, but the SOAP with Attachments API for Java (SAAJ) -- an offshoot of the Java API for XML Messaging (JAXM) -- automates many of the required steps, such as creating connections or creating and sending the actual messages. This tip chronicles the creation and sending of a synchronous SOAP message.

The process involves five steps:

1. Creating a SOAP connection
2. Creating a SOAP message
3. Populating the message
4. Sending the message
5. Retrieving the reply

SAAJ is available as part of the Java Web Services Developer Pack 1.2 (see Resources). This package also includes a copy of the Tomcat Web server (so you can host your own service) and sample applications.