Install Oracle RAC 10_g_ on Oracle Enterprise Linux using VMware Server is a very interesting article on using Oracle RAC using Oracle Linux on VMWare.
Not familiar with Oracle JDeveloper?
Take a look to the new Oracle JDeveloper 10g (10.1.3.1) matrix, this document exposes in a simple matrix the different features of the Oracle Java, J2EE, SOA development environment…
You can find all the information and download this free Java IDE from OTN.
HTTP compression has improved a lot the download time of content from servers. In the context of Web Service it could be very interesting to also use HTTP compression to improve the network traffic. Firs, I am explaining how to compress a SOAP response when you have a Web Service running in Oracle Containers for J2EE (OC4J) using a generic servlet filter. I have to give credit to http://www.thomas-bayer.com/ since he has created the Filter and documented how to do such thing using Axis.
So you can take a look to the following article for more details, you can read the 2 following article, or jump to the next paragraph that explains how to configure your JAX-RPC based service to send compressed HTTP response.
In this sample I am showing how to compress the SOAP response using a servlet filter, it is also possible to use some other Oracle infrastructure element to achieve that such as Oracle HTTP Server/Apache, or Oracle Webcache.
1- Install the compression filter library in your application
Download the compression filter library 2wayfilter-1.2.jar
and copy it into the Web application’s
2- Configure your application to use the filter
The configuration of a servlet filter is done using the web.xml where you reference which servlet or URL will be using the filter. As you may knowin JAX-RPC, the HTTP endpoint of a service are exposed as servlet and defined in the web.xml. You can choose to compress all the endpoint/URL or create a new servlet mapping, that will become a new SOAP endpoint and only compress this one. If you take the option of creating a new endpoint keep in mind that it will not be added to the WSDL automatically, so the client application will have to point explicitly to the compressed endpoint URL to take benefits of it.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
You can now package and deploy your application.
3- Create & Invoke the service
In this basic configuration you have only changed the servlet that is the HTTP endpoint of your service. So the compressed endpoint is not present in the WSDL, but you can use any of the URL to create your proxy.
When you have created your proxy, if you want to access the endpoint
that will return the compressed response you must be sure that you are
calling the correct endpoint. You can set the endpoint using the
setEndpoint method, of your Web
This is it!
I will in a next post explain how you can using the Oracle Web Service client API send a compressed request that will have to be uncompressed on the server using the same filter.
Groovy release 1.0 is here now !
You can find the release at the following location:
Congratulations to all the Groovy developers, and users that have done a great job with this language that is here in production. And it is interesting to see that more and more projects are using Groovy as part of their infrastructure to simplify development:
- Spring 2 integration
- … and many development teams in custom projects
So once again happy new year to all… and enjoy it with Groovy !
I was discussing with a friend about SOAP testing tools. We all know SOAP UI that is a very powerful one, but I am also using a very simple one developed on Mac for Mac (cocoa based application), this application is SOAP Client:
As Mac user I sometimes need to use Windows (too often…) or Linux computer, and for this I have been using either my PC or Parallels. Parallels is great but in my daily job my coworker are mainly using VMWare images….
VMWare has now open the VMware Virtualization for Mac Beta Program. If you like me need virtualization jump on it and give feedback…
The groovy project gets funding for its development. Big Sky is hiring Jochen Theodorou one of the Groovy commiter. For the people that do not know Big Sky. Big Sky is the company behind the the No Fluff Just Stuff symposium tour. Talking about this symposium, in 2007, Groovy and Grails will have a dedicated track.
More about this funding:
- eWeek news article
- Jay Zimmerman (founder of Big Sky) and Jochen Theodorou’s interviews/article from infoQ.
In addition to this very good news, here some other activities around Groovy and Grails:
Jesus Rodrigues has published on his blog multiple articles on interoperability between OracleAS and Microsoft WCF:
- MTOM Interoperability between Oracle Application Server and Windows Communication Foundation Part1: From WCF to Oracle
- MTOM Interoperability between Oracle Application Server and Windows Communication Foundation Part2: From Oracle to WCF
- WCF Oracle Application Server WS-Security interoperability Part1: from WCF to Oracle
- WCF Oracle Application Server WS-Security Interoperability Part 2: from Oracle to WCF
In addition Jesus did also publish previously articles on OracleAS BPEL Process Manager and Microsoft:
The London Groovy and Grails User Group will be holding their next meeting on Wednesday, 6th December 2006 at Skills Matter in London and for the first time ever the meeting will be available via a live web conference, so don’t worry if you are not in London!
Speaking at this month’s meeting will be Graeme Rocher, Grails Project Lead and CTO at Skills Matter. During his talk entitled; Grails Dynamic Tags: Making Tag Libraries Agile, Graeme will discuss Groovy Server Pages and its support for the creation of dynamic tag libraries without the need for configuration.
John Wilson, Groovy Committer, will also be presenting at this meeting. During his talk, entitled; The MetaClass: How Groovy works Under the Hood, John will shed light on the MetaClass so you can better understand its’ function and see how to use it to get your Groovy programs smaller, clearer and faster.
For more information on attending this meeting or signing up for the web conference, please go to: http://skillsmatter.com/groovy-grails-ug
WS-Security provides a way to protect Web Services at the message level (SOAP) and it is independent of the protocol used (HTTP, JMS, …). However, some services are still using HTTP based authentication for protection. JAX-RPC and its Oracle implementation provides a way to set the username and password in the client (Stub) using some properties on the Stub.
Theses properties are shortcuts to the standard JAX-RPC properties:
This code is the same when you are using the Call interface.