Book Code on Tomcat?

A couple people have commented in this blog that it would be good to have a version of the sample code from my book that runs on Tomcat. I agree that its a good idea. It shouldn’t be very difficult, since most of the code does not require all of Java EE 5, but only JAX-WS, JAXB, JSR-109 and JSR-181. And the JAX-WS RI runs on Tomcat (see instructions here). Probably, only the JSR-109 specific deployment stuff (e.g., stateless session bean deployment) would not move over.

One idea that I am considering is to put the book code on SourceForge under SVN and then readers who are interested in Tomcat could work with me on porting the code and junits over to Tomcat/JAX-WS. Similarly, if others got interested in doing the same thing for BEA, IBM WebSphere, JBoss, etc. these platforms could be handled as forks from the initial code base. Each port would be fairly straightforward, but there will be some minor wrinkles for each platform.

If you have any comments about this approach, please let me know.

P.S. GlassFish is great by the way and I still think everyone should give it a try :-)

7 Responses to “Book Code on Tomcat?”

  1. Seems a good idea. You may want to check the JAX-WS code in both the Apache implementation (whoever ends winning the Axis2/XCF battle) and Metro (the new name for the WS stack from GlassFish). I suspect the Metro guys will give you a hand…. And I owe you a spotlight on your book. I’ll try to do it this morning when I get to work - eduard/o

  2. Mittal says:

    seems to be g8 idea to me.. putting the code on SF SVN… I too bumped into Aruns blog…

    Thanks
    Mittal

  3. Ian Norris says:

    Hi,
    Have you considered porting the code for the book to Weblogic?

  4. Mark says:

    Yes, it is under consideration - depending on how much demand there is. Now that WL has Java EE 5 compliance, it should be fairly trivial. The only portions of the code download that are GlassFish specific are the deploy/undeploy and the JAXB and WSDL compiler tools.

  5. scott headington says:

    Hi Mark

    Do you know if the port to WL ever happened? If not Im going to do it with WL 10.3 in the next week or so.

  6. Mark says:

    Hi Scott

    The port to WL has not happened at this point. It would be great if you could do that. Let me know if you need any help. Email me: markATsoabookDOTcom.

  7. wallya says:

    Hi,

    Any news on porting the examplese to Weblogic, I am new to SOA development and we have no choice of using other App servers.

    Regards
    Wallya

Leave a Reply

You must be logged in to post a comment.