Posted by editor
on March 1, 2007 at 8:39 AM PST
A fresh look at Maven... also:
Feature Article: Building Web Applications with Maven 2
Java Today: Pluto 1.1, Philly JUG's new site, and NetBeans podcast #25
Weblogs: Gosling converting emacs users to NetBeans, multiple Firefox instances on Linux, and new NetBeans book
Forum postings: BalloonTip project, webservice standalone and as servlet, and
transaction processing in EE 5
A fresh look at Maven
Is Maven still controversial? When I first started editing for O'Reilly a few years ago, we ran an early article about Maven on ONJava and it drew a great deal of criticism. The old guard -- and it says something that Java has been around long enough to have an "old guard" -- decried the idea of ceding so much control over project building and management to Maven. Meanwhile its supporters argued that Maven is offering a set of reasonably good default choices for a lot of things you might not ever get around to figuring out otherwise.
Thing is, I don't think there's such a raging debate over Maven anymore. You might not choose to use it for your own project, but it's been a long time since I've seen the community lobbing stones and arrows in Maven's direction. What happened? Here's a hypothesis: Rails happened. The most disruptive technology to hit the Java world in years -- disruptive because it seeks to lure Java developers away to another language and another way of doing thing -- is highly (if sometimes grudgingly) regarded for its philosophy of "convention over configuration". While Rails solves completely different problems than Maven, they both typify this approach, and they both have their iconic moment of setting up a whole project for you with a single command.
Maybe with the idea of convention over configuration popping up all over the place, even in Java frameworks like Grails and Trails , maybe some of the anti-Maven crowd have come to tolerate, if not embrace, its implicit philosophy.
Those ready to let Maven drive when developing webapps should check out today's Feature Article , in which Will Iverson takes a look at
Building Web Applications with Maven 2 :
"In this article, we will take a look at using Maven 2 to help build a simple web application (a bit of business logic in a JAR and a JSP-based web application). By the end of this article, you should feel comfortable working with Maven 2, and ready to start using it as a much more satisfactory tool than Ant (or even your IDE)."
In Java Today ,
Apache Pluto , the reference implementation of the Portlet specification (JSR-168 ) and the basis for the Portlet 2.0 spec (JSR-286 ), has released version 1.1 . "This is the first GA release of the 1.1 line of Pluto, which is a major refactoring of Pluto 1.0.1 to allow for easier integration of Pluto's portlet container into a portal and easier configuration of the Pluto portal driver, a bare-bones portal included with Pluto."
The Philadelphia Area Java Users Group , a successful JUG with over 1,000 members, has a new website, and more online resources for members. JUGMaster Dave Fecak writes, "let me be the first to welcome you to the new virtual home of the Philadelphia Area Java Users Group, twice rated by Sun as one of the world's top Java User Groups! The Philly JUG's main objective is to provide great events for our membership, and if you look at our history we've done just that."
Roumen Strobl has posted episode 25 of his NetBeans Podcast . In this episode: 6.0 Milestone 7, new installer, JRuby support, UML support, a new Java ME competition, vi support, plug-in portal and a NetBeans puzzler.
In today's Weblogs .
James Gosling relates a tale of
Converting the hardcore users to the NetBeans Way:
"I became a hardcore emacs user 29 years ago (yes! Really! The first emacs I used was the excellent implementation on Multics by Bernie Greenberg). But a lot of time has passed since then and the exponent in Moore's law has changed everything. And yet there's a hardcore emacs population out there that I've been slowly trying to convince to join the modern age."
FelipeÂ Leme has a blog to save you some hassles with
Firefox, profiles, and Linux :
"Have you ever spent hours trying to run 2 instances of Firefox on Linux, using command-line arguments (like -ProfileManager) that *used* to work, but now simply open a window in the same Firefox process? If you did, this blog is for you..."
TimÂ Boudreau reports
We have a book cover - I mean, a new NetBeans book!
"Well, our new NetBeans book is not finished, but available in "rough cut" form. If you've ever wondered about writing NetBeans plug-ins or how you can architect a large, extensible application and have it actually work, I hope this will be a resource."
Balloon Tip Project
in today's Forums
"I think balloon tips are a very nice feature which is currently missing in Java. I have worked on a solution and started my own java.net project which can be found here: https://balloontip.dev.java.net/
The first version is ready (release can be found in the 'Documents and files' section) and I think it's useful. Check it out if you are interested."
is working through an interesting situation in
Abstracting from http.server / http.servlet transport
"An jaxws webservice is currently launched either as standalone or in a servlet environment. For the standalone mode you can at runtime create endpoints reffering to instance of your implementation, where as for the servlet you'll need to have them in your descriptor file at configuration time. I have an application that launches endpoints at runtime (depending plugins etc.) and is currently implemented using the standalone http server, but I also want to be able to run it in the servlet environment. I hacked together something similar to the WSServlet making the list with adapters in the WSServletDelegate public domain and thus allowing to add / remove adapters at runtime. This is all getting a lot of hassle for something simple: abstracting wether it is run standalone or within an servlet. Am I overlooking something? Shouldn't this be 'out-of-the-box' functionality?"
wants to know
is there any book or tutorial about transaction processing in Java EE 5.0?
"Thank you for reading my post. Is there any book or manual or something that help me learn how to manage transaction is Java EE 5.0? Specially transactions that has more that one resource involved in transaction? Thanks."
Current and upcoming Java
Registered users can submit event listings for the
href="http://www.java.net/events">java.net Events Page using our
href="http://today.java.net/cs/user/create/e">events submission form.
All submissions go through an editorial review before being posted to the
Archives and Subscriptions: This blog is delivered weekdays as
Today RSS feed . Also, once this page is no longer featured as the
front page of java.net it will be
archived along with other past issues in the
A fresh look at Maven