|
|
|||||||||||||||||||||||||||||||||||||||||||||
Editor's Daily BlogMessage in a ModulePosted by invalidname on June 29, 2007 at 08:41 AM | Permalink | Comments (0)The debut of Java modules So, I go and complain about how slow things are, and what happens? One of the premiere features of JDK 7 drops its first snapshot. Which feature? Only the new module system for Java, addressing the complaints we've had about JARs for years. Obviously, I'll need to re-ping by featuring these on the front page again sometime next week. For now, the debut comes to us courtesy of Stanley Ho, who offers a number of items in his info-dump weblog OpenJDK Modules project: Early snapshot, video, and more.
Stanley goes on to describe some of the other goodies provided by the modules project, including a getting started guide, some samples, and a NetBeans project for those of you who want to hack on the module system code itself. Expect to hear much more here about JAM's -- JAva Modules -- as the development of JDK 7 continues. Also in today's Weblogs, Roger Kitain looks at MobileFaces, Mobile JSF Kit and GlassFish: "Two weeks ago, Ericsson announced that MobileFaces, a core library based on the JSF architecture for extending web applications to mobile browsing devices, went open source. The core MobileFaces library is currently based on the JSF 1.1 specification. The library not only makes it easier to develop mobile web applications, but it also utilizes a key extensible piece of the JSF architecture - RenderKits and Renderers." Finally, Gregg Sporar has one of several wrap-ups from the first-ever Jazoon conference, which has him saying Ja, Jazoon, adding that "all software developer conferences should be held in movie theatres..." Our latest JavaOne Community Corner Podcast is j1-2k7-mtH08: Building Composite Applications Using BPEL, presented by by Prabhu Balashanmugam. "Open ESB opens a new world of opportunities for enterprises to address business process management challenges. This session will provide a overview of how Java EE skills can be easily extended to solve some of the complex integration and business process management problems. It will also provide an overview of Open ESB, WS-BPEL 2.0 Implementation and the array of options to connect to enterprise services." In Java Today, the Rich Internet Applications blog at Canoo has an entry discussing experiences developing a "Music Pinboard" application with JavaJFX. The conclusions of JavaFX Script Productivity Part I of II: Learning include a need for visual tools for the beginning developer, and greater fidelity to Swing conventions for the experienced Swing developer. "Sun and the wider JFX community will have to improve its current level of Java-syntax and WYSIWYG tool support for JFX, if it is to find acceptance with programmer and non-programmer alike." NetBeans will be taking on rival IDE's at a JUG Cologne shootout on July 3. "The rules are simple: Get on stage and give a 30-minute presentation. At the end of all segments, the panel and the audience will have an hour-long open discussion. The event will be held at the University of Cologne (Germany), with NetBeans Evangelist Roman Strobl representing the NetBeans IDE." Version 1.5.1 of the Java 3D API is now available for download. Highlights of this release include: Windows Vista Support, Automatic fallback to D3D pipeline if OpenGL unavailable, JOALMixer-based audio engine, Automatic mipmap generation, Pack200 support for Java Web Start applications, Support for new JNLPAppletLauncher utility (based on JOGLAppletLauncher), etc. See the release notes for more information. The latest java.net Poll asks "How many open-source projects have you contributed code to?" Cast your vote on the front page, then check out the results page for current tallies and discussion.
In today's Forums,
Finally, Current and upcoming Java Events :
Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site. Archives and Subscriptions: This blog is delivered weekdays as the Java 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 java.net Archive. When the World is Running DownPosted by invalidname on June 28, 2007 at 04:14 AM | Permalink | Comments (0)Finding and fixing bugs in heavily concurrent code A strong understanding of concurrency and threading is one of the traits that distinguishes the best Java developers, in every permutation of the platform. Servers by their very nature are heavily multi-threaded, good desktop developers know to thread off expensive work and unblock AWT-Event-Dispatch, and ME developers often have to carefully manage threads and other resources in order to coexist with other apps in the same small VM. The concurrency utilities introduced in Java 5.0 offer various ways to achieve high efficiency with threads. For example, the It also provides some means of thoroughly messing up your application. What if you forget to unlock? Or what if you have a read lock and you try to perform a write operation? These mistakes can create subtle, hard-to-fix bugs. Fortunately, there's help in today's Feature Article, Ran Kornfeld's Extending the ReentrantReadWriteLock
In Java Today, the Filthy Rich Clients project hosts sample code for the upcoming book of the same name by Chet Haase and Romain Guy. On his blog, Romain recently announced the availability of demos for chapters 5 (Performance) and 6 (Composites). Ultimately, the project will host the complete collection of demos and examples found in the book The 360Mobile.us blog has published an interview with Mobile & Embedded Community Leader Roger Brinkley. "Roger and I had a chance to visit recently and talk more about his involvement in leading the community. Read on to learn a little more about what goes on behind the scenes in this thriving community..." In an opinion piece on JavaLobby, Clemens Eisserer asks Why Doesn't Google Bet On Java? "Google is well-known for doing almost everything possible using Javascript and to have a lot of knowledge in this area. Sometimes this works very well (like for GMail) and sometimes not (like for docs & spreadsheets). [...] But why? Its like building a school-bus with a motorcycle engine just because these engines are there. " Today's Weblogs section starts with some Quick feedback from Jazoon by Fabrizio Giudici. "I still need some time to get to a comprehensive evaluation about Jazoon, so I will talk about the conference in general after the event is over. Nevertheless today I can say what has been the most interesting talk I've attended." In SCA & JBI: Made for each other. (SOA Gone Wild), Brian O'Neill writes, "after some exploration, it appears as though JBI is ideally positioned to serve as a run-time for SCA contributions. Here are three ways that SCA and JBI complement each other." Finally, a warning from James Stauffer: Don't return in a finally clause: "Some things that look ok at first can cause major problems. One of them is returning in a finally clause."
In today's Forums,
Finally, Joshua Marinacci has a tip for achieving a Mac OS X effect in Re: how to make a hidden java application in Mac. "This is a Mac specific thing. If you bundle your application as a Mac only application (using an .app bundle) then you can set a special flag in the Info.plist. See this tip. This will work with any Mac application, not just Java ones." Current and upcoming Java Events :
Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site. Archives and Subscriptions: This blog is delivered weekdays as the Java 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 java.net Archive. So LonelyPosted by invalidname on June 27, 2007 at 08:32 AM | Permalink | Comments (0)Welcome back to the developer summer doldrums Every year, around July, it happens: things get sllllooooooowwwwwww. And it's happening already. JavaLobby posted no new stories yesterday. InfoQ only had one (at least with the Java-only filter on). Some of my other morning-check sites, including Artima, TheServerSide, and Café au Lait have been pretty slow too. Announcements from the communities have trailed off, as has blogging. With apologies to the Southern Hemisphere, this is a Summer effect we've seen before. In the Java world, it's compounded by all the companies and projects getting their major releases out for JavaOne in May, then basically going dark for a few weeks (or months) while everyone recovers from the crunch. I've talked about this before, making the point that avoiding the JavaOne news crush and instead releasing in mid-Summer would avoid competition for attention and get you a lot more notice. It's especially slow right about now, with the Independence Day holiday coming up -- O'Reilly is closing down for July 4-6, giving employees a 5-day weekend, though we'll still be updating java.net every weekday as usual. I imagine there are a lot of svn logs that are going to show far fewer commits in June and July than in April and May (or September, when things crank back up). So, if your project has a release coming up, be sure to let your community leader know to put it on the community web page, or just e-mail me (cadamson at oreilly.com) with details. We'd love to help you get noticed, and every tip we get about a great project means less digging for news in this slow season. Fortunately, we still have a stack of podcast recordings from JavaOne 2007 to edit and publish. Our latest JavaOne Community Corner Podcast is j1-2k7-mtT08: Building Composite Applications Using Open ESB 2.0, from speaker Prakash Aradhya. "OpenESB is the next generation integration platform developed by open source community. ope-esb.dev.java.net is the java.net project that encompasses Open-ESB project. Open ESB is based in JBI architecture. It is fully integrated in NetBeans and Glassfish, other popular open source projects. Open ESB offers a rich set of tools to build SOA based integration applications. In this talk you will learn how to build a composite application using Open ESB. You will understand how to leverage existing enterprise applications by building a new class of applications called Composite applications. Visit open-esb.dev.java.net for more detailed information on how to get involved in this open source community." In Java Today, the JSR-275 project is the home page for the JSR-275 (Units Specification) expert group's collaboration, and has updated versions of the draft spec in its documents and files section. JSR-275 specifies one or more Java packages for the programmatic handling of physical quantities and their expression as numbers of units. "Type arguments to generic classes are not available for reflection at runtime - or are they? The type arguments for statically declared types can be discovered at runtime." Ian Robertson's Artima article Reflecting Generics has a look at how to do this, and why you might want to. Issue 297 of the NetBeans Weekly Newsletter is out, with a preview of the IDE Shootout at JUG Cologne on July 3, the Dream Team Profile of Edgar Silva, Putting Flickr on Rails, Resolving Java ME Device Fragmentation Issues, NetBeans Google Toolbar Module Tutorial, Extending the NetBeans API Wizards, and more. Alexander Potochkin begins today's Weblogs section with some guidance on Enabling/Disabling Swing Containers. "The fact that disabling a Swing container doesn't mean disabling its child component has always been surprising for Swing beginners. In this blog we'll examine how to disable a container with all its children." In Making life simpler: the Java EE Operating System, John Reynolds writes, "Earlier this year I suggested that the multitude of Java EE implementations is a bad thing... but now I think I didn't go far enough... Why not just build an OS that is a Java EE app-server?" Want a Lava Lamp for Hudson projects? Kohsuke Kawaguchi has details: "Someone posted an article on Hudson Wiki that explains how to drive Lava lamps based on Hudson build status."
In today's Forums,
GlassFish user Current and upcoming Java Events :
Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site. Archives and Subscriptions: This blog is delivered weekdays as the Java 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 java.net Archive. Walking on the MoonPosted by invalidname on June 26, 2007 at 08:59 AM | Permalink | Comments (0)Another strange trip with Flying Saucer Now here's an irony... despite the usual trend of media formats having being more readable than writable, PDF's may be easier to create than to view in Java SE. Adobe's own PDF component is long out of date, and many alternatives are commercial, although a list at schmidt.devlib.org does show some open-source readers. But for just writing PDF, the open-source iText library is available and quite popular. So popular, in fact, that the Flying Saucer project adopted it as an optional rendering technology. In our Feature Article, Flying Saucer founder Joshua Marinacci takes a look at Generating PDFs for Fun and Profit with Flying Saucer and iText:
In Java Today, the JFXBuilder blog talks about the latest feature effort, MouseOver Animations in JFXBuilder/JavaFX: "This week we've been playing with a user friendly way to easily configure graphical and animated actions for common input events, like MouseOver and MousePressed. JFXBuilder already has a shape custom tailored for this called a "SwitchShape". The basic idea is to select a group of shapes that we want to react to a mouse event, select the menu item "Group in SwitchShape", then simply configure the look of the different "versions" (MouseOver, MousePressed, etc.)." The GlassFish Plugins Project enables IDE users to develop, deploy and run their Java Enterprise Edition (Java EE) applications using their favorite IDEs. Available plugins support NetBeans (included with NetBeans 5.5.1 and 6.0 M9), Eclipse 3.3 Europa with WTP 2.0 RC3, Eclipse IDE 3.2 and MyEclipse. There are also NetBeans plugins for jMaki, Phobos, and more. The project is also actively seeking more developers to develop plugins for other IDE's. ComputerWorld is hosting an excerpt from Java Data Mining: Strategy, Standard and Practice by Mark F. Hornick, Erik Marcad and Sunil Venkayala. "This book excerpt uses an example sales campaign to introduce the Java Data Mining application programming interface. From data preparation to modeling to evaluation and deployment, the short example gives a feel for the business problem and solution." In today's Weblogs Greg Murray introduces a jMaki Revolver Widget. "After many requests I have created a re-usable widget for the revolver. The revolver provides an alternative way to provide top level navigation. This widget can run in the context of jMaki or in a regular web page." In SalutafugiJMS -- Java Messaging Service on ZeroConf, David Walend writes: "SalutafugiJMS is a peer-to-peer implementation of the Java Messaging Service specification that uses ZeroConf DNS-SD discovery and TCP sockets to communicate in a distributed computing system. Name the JMS Queues and Topics for information your system needs to exchange. Your system consumes what your system needs. Your system sends out what it chooses. SalutafugiJMS takes care of the rest, leaving your system very loosely coupled." Finally, Felipe Leme offers My suggestion for Servlet 3.0. "The Servlet 3.0 JSR is out. I have a simple - yet very useful - suggestion for improvement. "
In today's Forums,
In today's second item involving ZeroConf networking, Current and upcoming Java Events :
Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site. Archives and Subscriptions: This blog is delivered weekdays as the Java 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 java.net Archive. SynchronicityPosted by invalidname on June 25, 2007 at 07:31 AM | Permalink | Comments (0)The concurrence of a web service stack's various pieces So why Metro? What's the deal big enough for several of our bloggers to be talking about it last week? I think Kohsuke does a great job explaining by example:
So while it looks like a merger, or at least a friendly affiliation, of two projects under a common GlassFish umbrella, Metro can be more than that. It hopes to be a single destination for those who need an integrated, tested web services stack, yet still be flexible enough for those who want to swap in different pieces. In light of this, we've cast this week's Spotlight on Metro. Combining the JAX-WS RI and WSIT projects, Metro bills itself as "a high-performance, extensible, easy-to-use web service stack. It is a one-stop shop for all your web service needs, from the simplest hello world web service to reliable, secured, and transacted web service that involves .NET services." More information and perspective is available in introductory blogs by Kohsuke Kawaguchi, Arun Gupta, and Harold Carr. We begin the Java Today section with a related project. The JAX-WS Commons project, part of Project Metro, has added JSON Support for JAX-WS. "JAX-WS supports a "pluggable encoding" -- meaning it can use formats other than textual XML. This extension takes advantage of this and allows JAX-WS services to be exposed via JSON. JSON support is implemented as a custom binding. So just like there are SOAP/HTTP binding or Plain Old XML binding, you can specify JSON binding to expose a service as JSON service." Work has begun on a new version of the Servlet API with the submission of JSR-315, Java Servlet 3.0 Specification, to the JCP. "Servlet 3.0 specification will work on extensibility / pluggability. Web framework pluggability will be a key driver of the Servlet 3.0 specification. As part of the revision for Java EE 6 we would like to revise the Servlet specification to support the Ease of Development (EoD) using the newer language features. Also along with EoD there have been requests for enhancements in other areas as well to support the modern next generation web application development." Balloting for this JSR closes on July 2. Portlets define a streamlined way to aggregate content from several sources into a single Web application. In an MP3 interview with Artima, Use-Cases for Portlets, Brian Chan, chief architect of open-source portlet vendor Liferay, describes the use-cases for portlets. Differing notions of Beans Binding top today's Weblogs. Shannon Hickey announces Beans Binding 0.6.1 Release Available: "Two days after the 0.6 release of Beans Binding, the 0.6.1 release is out with simpler and more intuitive method names and constants." However, Rémi Forax brings up some concerns in Beansbinding goes to the wrong direction: "After reading the Shannon Hickey's Blog about the recent release of beanbinding 0.6, i've decided to take a look to beanbing and i think that the API doesn't guide the user enough." Elsewhere in the blogs, David Van Couvering reacts to a remarkable open-source contribution in Replication? In Java DB? Wow. "Just found out that Egil Sorensen, a student at NTNU in Trondheim, has contributed his thesis work - replication and hot standby for Apache Derby - to the Derby community."
In today's Forums,
Sean Sheedy resets the context of the proposed deprecation of ME's pauseApp() in Re: pauseApp questions from the MIDP3 EG. "The question is, has the low end of devices risen to the point where they are sufficiently capable of handling system critical tasks (phone calls) without having to turn off MIDlets? I think it is up to the manufacturers and implementers (and I take it that your company is the latter) to let us know where the manufacturers stand. As I am now an individual JCP member, I tend to take the perspective that if there is some way we can get CPU time for our threads when we don't have the display (such as in a phone call) and new notification mechanisms exist that replace those overloaded onto pauseApp, then we don't need a paused state any more."
What really matters in terms of app server performance? In
Re: Once again -> Glassfish vs. JBoss, Current and upcoming Java Events :
Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site. Archives and Subscriptions: This blog is delivered weekdays as the Java 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 java.net Archive. |
June 2007
Search this blog:CategoriesArchives
June 2007 Recent EntriesWhen the World is Running Down | ||||||||||||||||||||||||||||||||||||||||||||
|
|