Thursday Mar 01, 2012

Metro 2.2, JAXB 2.2.5, JAX-WS 2.2.6 Released!

I'm happy to announce we released Metro 2.2, including the JAXB 2.2.5 and JAX-WS 2.2.6 releases:

The Metro 2.2 is aligned and integrated with GlassFish 3.1.2 release. Some feature highlights:

  • large number of bugfixes going into all codelines

  • including better alignment with Weblogic stack in JAX-WS area

  • both JAXB and JAX-WS apt tool usage (long time deprecated in JDK) has been replaced with JSR 269 Pluggable Annotation Processing API allowing JDK8 integration and removal of com.sun.mirror implementation from JDK

  • new Modular Databinding layer has been added to JAX-WS and exposed in Metro as well, which allows users to use e.g. Moxy JAXB implementation instead of the default JAXB RI for web service invocations

  • the JAX-WS Maven plugins have been updated to allow working with latest JAX-WS releases and enhanced with lots of new capabilities

  • documentation for all 3 components has been updated to docbook format which allowed the release documentation be present also in single HTML view and PDF formats

Tuesday Jul 15, 2008

Grails and web service development with Metro - little update

I've seen several comments where people had issues using the Metro plugin for Grails framework. I fixed the problems and updated installation instructions a bit, so if you use the latest plugin release (1.0.1), you shall be fine. I also updated the plugin to comply with Grails 1.0.3. Check it out at:

Thursday Jun 12, 2008

Metro features with NetBeans

With Geertjan's help, my article about Metro use in NetBeans has been published to NetBeans Zone. Enjoy! And vote for it if you like it ;O)

Wednesday Jun 04, 2008

New features in Metro 1.3 with NetBeans 6.1

Couple of people asked about availability of the new features I described earlier. The bits there point to NetBeans 6.5 builds. Question is whether you can use the same bits for NetBeans 6.1?
Unfortunately the answer so far is no, it is not possible. However, come here for updates.

I've tried to keep the bits the same, but there has been a change in classpath apis which didn't allow me to produce the same artefacts for both 6.5 and 6.1 builds. There's also a WS server api redesign planned for 6.5. So, I'll try to provide the build, but we'll see.

Tuesday Jun 03, 2008

Signing/Encrypting message attachments

Ashutosh reminded me of a feature which was not supported yet by NetBeans. It's the ability to sign and encrypt message attachments. This is connected to the message level specific settings.

For each operation, or better say for each message of your web service, you have an option to select whether the whole message body shall be encrypted, or signed, or both. If you don't want to process the whole body, and want to sign & encrypt only specific credit card information field to improve performance significantly, you may specify such configuration as well.

The new feature now enables you to configure the same for message attachments. You may choose to sign and/or encrypt message attachments. Just click "Add Attachments" button and then check checkboxes in respective columns:

The security policy generated from such configuration looks like this:

Monday Jun 02, 2008

New features in Metro 1.3 and NetBeans

Recently, there've been couple of blogs about new features in Metro 1.2 release, and about some additional things that will be released with Metro 1.3.

I've been working on updating the NetBeans Metro plugin to make sure these features are easily configurable from our tools as well.

Today, I'd like to announce availability of NetBeans 6.5 builds that contain support for both Metro 1.2 and Metro 1.3 features. Click here to download your NetBeans 6.5 copy from Hudson continuous builds, or grab a daily builds. You shall get either JavaEE or Full bundle.
Note that in order to leverage the new features, you need to have Metro 1.2 or Metro 1.3 installed on top of your GlassFish installation.

The biggest changes you find in the UI are shown in the following screens:

  • Namespace Version Chooser - Metro 1.3 supports .NET 3.5 release, which has policy assertions in a different (standard based) namespaces than .NET3.0. Thus, you need to have a choice which version your service shall be developed with.

  • Kerberos - additional security profile available for 1.3 version with Kerberos support. Read more about Metro Kerberos support on Ashutosh's blog, and if you are not familiar with Kerberos itself, read more on Wikipedia

  • STS Issued Supporting Token Profile - new security profile based on Issued tokens.

  • Hash passwords - support for Hash Passwords in the Username Authentication with Symmetric Keys security profile. Read more about Hash Password support on Ashutosh's blog, and if you are not familiar with Digest Authentication itself, read more on Wikipedia

  • Encrypted Supporting Tokens - ability to encrypt supporting tokens.

There are some other things which I might forgot about, so let me know if you miss anything. Also, let me know if you find any errors, meet any exceptions, anything like that. Currently these are development builds, and release quality shall be met with NetBeans 6.5 release. However, I think the metro modules shall be stable enough already. Let me know ;O)

Tuesday Nov 06, 2007

Hudson, NetBeans, Findbugs and "Online IDE"

 Well, it's been a while ... but anyway, I'm back. Got through a couple of pretty good books in the meantime (Freakonomics, Joel On Software, Idioti na plavbe kolem sveta, ... ;O) ), but more important I have been playing with Yarda Tulach's online FindBugs plugin for NetBeans. I like the "Online IDE" approach a lot. If you use Hudson for building your project, it automatically builds your FindBugs results as well.

 Now when the data are computed on server, why would you need to compute them locally to be able to see them in your IDE together with the code? You don't ! It's enough to do compilation - it takes too long already anyway. So how to reuse the data from Hudson?

 Just use latest NetBeans 6 nightly, and install Find Bugs
Tasks for
module from daily development update center -
then you will get smooth integration with Task List. Install the
module, open the task list window (Window -> Task List), select which project/s you want to scan and wait till the list of FindBugs errors is downloaded.

 Yarda's plugin worked only for NetBeans NBM projects, but I wanted to be able to use it for our WSIT project, which is part of Metro web service stack. Those projects are setup as a plain Java SE projects. So I enhanced the plugin with the ability to work for this type projects as well. The url to findbugs result is stored in 'findbugs.url' property in file, so you can use it for your project (and your Hudson) as well.

 When you use it, it looks like this:

Monday Jul 23, 2007

WSIT NetBeans modules Code Report

I just came across Ashutosh's blog about open source analysis using for WSIT and XWSS. Interesting info there. Worth reading.
So, of course I was tempted to try it for my open source modules: WSIT NetBeans modules. Some interesting info to mention here:

1. Codebase - 33122 LOC
2. Estimated Effort: 8 Person years

Hmmm, man, I am productive ;O) I'm the only one working on the code for little more than a year (with a few small commits coming from other NetBeans guys. I had a lot of sleepless nights working on the project with it's schedules trying to deliver the tooling story and the number seems to reflect that. Of course, the number is way too off, and the metrics used are always arguable, but looking at numbers of other projects which I know well and worked on (NetBeans, WSIT, Glassfish, ...), they usually reflect the reality quite well.

Anyway, enjoy the full report and if you find any interesting information there, let me know ;O)

Tuesday May 08, 2007

Lab is live at SDN

JavaOne 2007 hands on labs are live at SDN. Enjoy!

[Read More]

Monday May 07, 2007

Java and Microsoft Interoperability Hands On Lab

time's up for this year's JavaOne. WSIT is there as well. Besides all technical sessions, you can also try things yourself.
Me, Sreejith A K and Fabian Ritzmann will guide you through Sun Java and Microsoft WCF interoperability step by step at JavaOne's Hands-on-lab session on Wednesday 9th:

3:50 PM - 5:20 PM LAB-3350 Make Java Technology and .NET 3.0 Interoperability Work With WSIT

If you don't plan to attend this year, or there's no place left, you can still try everything safe at home on your computer. The lab will be accessible online, and we'll provide a forum where we'll try to answer all your issues, questions, requests. Stay tuned, I'll post the necessary info here soon.


The views expressed on this [blog; Web site] are my own and do not necessarily reflect the views of Oracle.


« April 2014