Let Me Roll It
Taking control of your own web services
A couple of years ago, I remember sitting in the JavaOne keynote (er, "Sun General Session") as various speakers went over features coming in Java SE 6. One was an annotation for setting up a web service automatically, letting IoC figure out how to expose the method and letting the developer worry only about the implementation.
Thing was, this was the Java SE roadmap. And I'm thinking "why isn't this in the EE keynote? I'm a desktop guy; why do I care about web services?"
Time -- and a concrete implementation -- have cured my ignorance on this point. First, there's the matter that several important and viable enterprise stacks (Spring, for example) are built atop SE without being EE, per se. Providing web services in SE lifts all boats, EE or otherwise.
Moreover, web services are increasingly important as a distributed systems technology. Young Yang makes the case for this
One justification for including "https://jax-ws.dev.java.net/">JAX-WS 2.0 as part of Java SE
6.0 instead of Java EE 5 is that web service delivery with JAX-WS
2.0 does not require a servlet or EJB container. This makes HTTP
more or less an equal peer of RMI as an intrinsic protocol for
distributed computing on the Java platform, and further extends the
reach of web services.
In the article, you'll see how to jump directly into the
javax.xml.ws package and provide your own endpoint and get access to the underlying HTTP server. Want to do peer-to-peer web services, mock web services, or something else we haven't thought of? Digging in at this level should open up lots of opportunities.
In Java Today,
Milestone 10 of NetBeans 6.0 (M10) is now available for download. Milestone 10 comes up with many new features and improvements, including: New default color scheme and syntax coloring, Ruby Debugger enhancements (global vars, watch view, locals view), Redesigned Find / Replace dialog, Integrated Visual Design for Web Applications, and more.
More details about all features can be found on the NetBeans Wiki. The overall report for M10 is available as well.
The still-incubated Notebook project shows a lot of promise, offering a simple program to organize notes, to-dos, lists, and anything else you need to jot down. "Notebook is designed to be small, fast, and portable. This makes it ideal to keep on a USB thumb drive, and use on any computer with Java 1.5 or higher installed. Notebook is also designed to be simple and easy to use. No extensive menus, no complicated options, and no fluff." The first release offers executables for Mac and Windows, as well as a plain JAR file.
InfoQ recently sat down with Sun CTO Bob Brewin to discuss the Eclipse Europa release and the future direction of Sun's Netbeans IDE. The summary article Sun CTO Bob Brewin on Eclipse 3.3 and the Future of Netbeans discusses Sun support for Eclipse projects (like the Glassfish Eclipse plugin and MyEclipse's use of Matisse). plugin development for NetBeans, and future NetBeans features targeted at JavaFX and Ruby developers.
In today's Weblogs.