Sunday, June 7, 2009

Eclipse Galileo is comming

For the past several years, in each June, Eclipse will Simultaneously release some projects. This year Galileo will release 33 projects on the track.

If you are used the STP project in the last release, you probably notice that the JAX-WS tool is deprecated in the Ganymede release. However the good news is there, this function will still be available in the Eclipse, it's now combined in the Eclipse Web Tool Project. for more detail you can check:

After you install the JAX-WS project from: download address may change over the time, so please always visits the to get the latest one). If you like me, the first step you may would like to create a JAX-WS project. however after you searching all the project types, there won't be a project called JAX-WS.

The following steps is how to use the JAX-WS function:

Before you start, please download the Apache CXF runtime first( to you local desk driver and unzip the file. go to your web service configuration tab and specify where the CXF runtime.

1. Create a dynamic Web Project.
2. There are two approches to use the JAX-WS Web Service, Top down with a WSDL file or bottom up with some Java codes. Let take the Top down approach here, we can either manually create the WSDL file or use the Modelling tool such as Together to generate the WSDL file.
3. From the File menu to choose the Web Service, and then select the JAX-WS Top down in the Web Service Wizard.
4. Take the following instructions, you can choose to use the CXF serverlet configration or use the Spring configration. If you are using the Spring in your project, then Spring one should be your first choice. Based on some documents, the performance of this one is much better when the application starts up.

5. If everything run successfully, you will get the generated Java class and with the web.xml configed.

Wednesday, June 25, 2008

Dispointed with Eclipse Ganymede

Well, Eclipse Ganymede did released on 25th June 2008, however for two sub projects that I am interested, STP and Subversive, some of the component of the STP are still on 0.8 and 0.9 version, and for Subversive, it's still on the 0.7.1, they did not meet the promise of the 1.o final version.

Sunday, June 8, 2008

The STP of Ganymede -- CXF included

Eclipse 3.4 will be released soon at the end of this month, There are several features that I am quite interested:

1. New Ganymede sub project, SOA tool project (STP) includes the CXF Web Service framework, it's really a cool feature.

2. P2, the new update manager, finally Eclipse starts to organize its plugins. :)

3. Refactor methods includes a new "Extract Class".

4. The SVN client is built in as a Eclipse sub project. It seems that we don't need to download the subclipse anymore.

When I began to use Eclipse 2.o, it's in 2003. Now it's 2008, the Eclipse version is only 3.4(soon). It seems that Eclipse version number growing is not so fast. :)

Wednesday, May 21, 2008

Eclipse template shortcuts

Recently I found some convenient methods to improve progamming typing in Eclipse with java,

type them and then press the "Enter" key and you will be suprised how fast you can be :)

some of the mosted used are:








Tuesday, May 6, 2008

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dwr:controller'.

Recently I am trying to use the DWR library, since my company is behind the firewall, Eclipse is not able to access the dwr schema. so when I decleared the dwr namespace in the spring configuration file:

I got the cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dwr:controller'. error in my Eclipse 3.3 version.

Inspired by the

I download the and put it into my dwr.jar file and defined an entry in Web and XML" -> "XML Catalog".

The annoying error is gone :)

Thursday, April 24, 2008


Recently I want to organise my SVN project using the trunk-branches-tags directories structure. The Web project will be created in the trunk directory and we will also check in and check out the code from this location. The problem here is that if we check out the code and build from the trunk directory, then we are not able to update the tags and branches directories. so a workaround is to create another simple project and check out the source codes from the parent directory of the trunk, tags and branches.