Archive for August, 2007





What Do You Dream For In An IDE?

Posted on August 28th, 2007 in Java EE, Opinions | 5 Comments »

I had raised my concerns over using Eclipse Europa in my earlier article in which I had mentioned my discomfort in the use of Eclipse for doing a Java EE web application. For my post I got many comments from various people, some who empathized with me, some who were with me in using NetBeans, some who advised me to use ItelliJ IDEA and some who told me that I was being short sighted. All these comments are precious to me and will definitely help me in seeing in the proper direction.

But these advices will only be useful when I would reach to a proper conclusion as why people flock to a particular IDE. Furthermore, having such wonderful and varied IDE’s in the Java World it sometimes is exhausting to reach to a proper conclusion. So I believe that choosing an IDE especially for a beginner involves the main aspects like”

  1. GUI which is first and foremost Impression
  2. Ease of use in development in a RAD project
  3. Hot Deployment and Version Control

My first impression for an IDE involves the above 3 which are crucial. I would like to make one thing clear in my way of choosing an IDE is that, I choose IDE for RAD activities. This means that I am not fascinated by those IDE’s which involve a learning curve nor the ones which make me looking here and there baffled as to what to do next. If it would have the case for a research project then my tools definitely would have been Edit Plus and Ant.

As an average user, my intentions in using an IDE are simple. It means Read the rest of this entry »

Eclipse Europa Has Ruined My Day

Posted on August 26th, 2007 in Issues, Opinions | 43 Comments »

Yesterday I woke up with a fresh mind to start my day by learning something useful. I had the aim to learn Spring Framework. So with this in mind I sat before my machine and decided to plan what to do for getting started in spring. I had downloaded Eclipse Europa a couple of days before so I thought the best way to get knowledge for Spring would be to get working quickly with an IDE.

I had NetBeans 5.5 with Sun Application Server prior to downloading Eclipse Europa. NetBeans was very amazing from the very beginning when I started with it. But since the enterprises here, use Eclipse as their de facto Java IDE my mind was made up, to work in their way i.e in Eclipse. Eclipse Europa which released a couple of days ago had the long forgotten feature of Web Application development called WTP built into the IDE along with 20 other sub projects. So this prompted me that, getting started with a new framework and a new IDE would be refreshing.

I had already configured Eclipse Europa to work with the Sun Application server earlier and I had the spring framework api’s with me so it was only a few moments from getting a head start. I created a dynamic web project in Europa making it compatible for running in Sun App Server and made a simple Controller and a view page in JSP, the minimal requirement from a Spring MVC tutorial. The configuration files were made and then I thought of running the project.

As I ran the project the error I got was, Read the rest of this entry »

Working With JAX-WS in JDK 1.6

Posted on August 19th, 2007 in Java EE, News, Web Services | 5 Comments »

I had created a web service client from an online web service while learning it for the first time and then had written a tutorial on creating a client with JAX-WS and JAXP. At that time I had JDK 1.5 and JWSDP 2.0 pack for web services.

I tried today working in JDK 1.6 and to my surprise I found out that it comes shipped in with web services utilities which include JAX-WS 2.0, JAXB 2.0, JAXP2.0. This means a lot of ease in the development of web services for the developer. The benefits are:

  1. There is no need to separately download the JWSDP 2.0 as I had mentioned in my tutorial
  2. There is no need to remember all the different set of libraries which are required to be included in the classpath before your program has to run.
  3. It eases out the development and saves your time.

Does that mean there are no Issues?

There are some. Read the rest of this entry »

JAX-WS + JAXP Tutorial – Building A StockQuote Web Service Client

Posted on August 15th, 2007 in Tutorials, Web Services | 12 Comments »

In this tutorial you will learn how to make a standalone Web Service client using JAX-WS. JAX-WS and JAXP API together, provide an easy way to develop a web service client. This tutorial makes use of an existing online web service instead of creating one from scratch just for making a client. For this tutorial you would need the following:

  • JWSDP 2.0 pack
  • JDK 1.5 or above
  • The required Web Service WSDL
  • Eclipse 3.1 or above

The procedure for creating the client have been broken down into 3 easy steps which are:

  1. Creating the Stubs from WSDL
  2. Building the Web Service Client using JAX-WS
  3. Parsing the Output using JAXP

JAXWS & JAXP

JAX-WS is an API for creating as well as invoking web services. It succeeds the JAX RPC API and makes it easier by reducing the XML configurations, through the use of annotations available in Java 5. However you don’t need annotations for this tutorial.

JAXP is a wrapper API over the legacy XML parsing API’s such as DOM and SAX and leverages their usage through its generic interfaces. JAXP is typically used in a web service which is implemented with a Document Literal style. This is because such web services return an XML document and not a simple String Value. The XML Document then has to be parsed using the JAXP API.

So let us begin with the tutorial Read the rest of this entry »

Java EE – Exhaustive yet Enchanting

Posted on August 13th, 2007 in Java EE | 1 Comment »

Java EE (JEE) has changed its face entirely from the past. The new look of JEE is exciting and simpler. With the rise of Web 2.0 and usage of simpler and lighter mechanisms for enterprise application, JEE has come a long way, to provide the latest and the best features in the market. For the new beginner in the world of Java EE it becomes essential to know the new and exciting things which JEE provides. This article makes a brief attempt to bring forth the facts which currently ride the waves in JEE with some comparison with the earlier counterparts.

The Musketeers of Java EE

If you know Java and want to sprint in the world of Java EE (JEE), you have to face a lot of hurdles in wanting to know which kind of technologies you have learn. If you look at the most used technologies which form a standard part the JEE are: Read the rest of this entry »

J2EE or JEE, Java 5 or Java 1.5 – Is SUN Crazy?

Posted on August 1st, 2007 in Concepts, Java, Java EE | 22 Comments »

Will they take a J2EE professional or a JEE professional now is the thing I am worrying about. It is obvious for a technical person to know that J2EE and JEE are one and the same except for the HR persons! How do we go about convincing them? Many people including me, still are confused about the version and the mysterious number attached to the “Java” word. Let’s try to explore what actually goes on behind these mysteries. Check this out!

The product confusion

If you are still thinking that Java 2 meant version 2 of Java then you are being duped. Java 2 means version 1.4 of Java. I am still dumbfounded as to where Java 3 and Java 4 disappeared but I guess with the success of Java 5 they were buried in debris even before they born!

I was still in bewilderment until the web started to roar about Java 6. It took me a lot of time to actually sink in the fact whether Java 5 referred to version 1.5 of Java and Java 6 referred to version 1.6 of Java. This confusion was due to the use of Java 5.0 in some places. Are Java 5.0 and version 1.5 of Java one and the same?

The fact is that Sun makes use of dual naming convention for the same thing. One naming convention if for the product and one is for the developer. The official documents mentions Read the rest of this entry »