Monday, 30 March 2009

Apache CXF and Spring 2.5

Share
Apache CXF 2.1.4 by default uses Spring 2.0.8.

Spring 2.0.8 lacks some very nice component scanning and autowiring features.

When I investigated cxf-parent-2.1.4.pom file I noticed that there is spring2.5 profile which uses Spring 2.5.4.

So, it is possible to use Apache CXF with Spring 2.5 branch.

Let's write simple Spring 2.5 web application and expose some of its functionality using Web Service.

Tuesday, 24 March 2009

Developing JAX-WS Web Services using Apache CXF and Maven2

Share
Apache CXF is a flexible open source services framework. More about Apache CXF can be found on its home page: http://cxf.apache.org/.

Today I will show you how to develop a simple JAX-WS Web Service using Apache CXF.

I will build it using NetBeans 6 and Maven2.

Friday, 20 March 2009

Web Services, WSIT and Reliable Messaging

Share
Last week I wrote that I would continue my research on WSIT.

Today, as a result of my research, I will show you how to implement Web Services Reliable Messaging using NetBeans 6.

Securing Web Services the right way using WSIT

Share
On last Sunday I showed you how to secure SOAP messages using GlassFish V2 SOAP Message Security providers.

You can read about it here: Securing Web Services using GlassFish V2 Message Security.

Today I will show you how to secure a Web Service the right way using WSIT!

Sunday, 15 March 2009

Securing Web Services using GlassFish V2 Message Security

Share
Today I will show you how to secure Web Services using GlassFish V2 Message Security.

It is very simple to configure, but also a very tricky and unclear way to secure Web Services.

Why? Read this post and you will know :)

Thursday, 12 March 2009

Securing Web Services with HTTP Basic authentication method

Share
You all are probably familiar with various HTTP realms.

Today I will show you how to secure Web Services using HTTP Basic authentication method.

I will continue my previous example: WebServices-JAX-WS-Web-App-Client.zip.

Monday, 9 March 2009

JAX-WS Web Services in a Java EE 5 EJB 3.0 Module

Share
Last week I showed you how to add JAX-WS Web Services into Java EE 5 Web Application: JAX-WS Web Services in a Java EE 5 Web Application.

The thing is that not all enterprise applications have web modules.

Thus, the following question may arise: is there any way we can expose some of the EJB 3.0 components' functionality using Web Services without having a web module?

The answer is: yes, of course yes, it's Java EE!

Thursday, 5 March 2009

Generating JAX-WS clients using wsimport tool

Share
In my previous JAX-WS Web Services in a Java EE 5 Web Application post I showed you have to create a simple JAX-WS Web Service in a Java EE 5 Web Application.

Today I will show you how to use wsimport tool to generate client code and how to invoke our Web Service in JUnit test case.

Sunday, 1 March 2009

JAX-WS Web Services in a Java EE 5 Web Application

Share
The name of my blog is Java EE, BPEL, SOA, but lately there was more on Spring, Maven2, and source code quality stuff than Java EE, BPEL, or SOA.

This has to be changed!

So, here I declare March as Web Services Month!

You can expect lots of Web Services during this month.

Today I will show you how to add JAX-WS Web Service into Java EE 5 Web Application.