Separating JSF and JSP
You can have two perfectly good technologies that just shouldn't be coupled.
In Also in Java Today Hans Bergsten likes using JSP and JSF technology - just not together. In Improving JSF by Dumping JSP, he explains that "JSP is good for mixing static content and dynamic content pulled from resources made available by other parts of the application; [and] that JSP's main mission in life is to generate a response to a request; a JSP page is processed in one pass from top to bottom, with JSP action elements processed in the order in which they appear in the page. JSF, on the other hand, has a much more complex lifecycle. Somewhat simplified, JSF components are created, asked to process their input (if any), and then asked to render themselves. For JSF to work well, these three things must happen separately in a well-defined order, but when JSF is used with JSP, they don't. Instead, the component creation and rendering happens in parallel, causing all kinds of problems."Join the talkback.
N. Alex Rupp's most recent blog entry is a pointer to his article on TheServerSide in the seriesContainer Driven Testing. Rupp blogs, "Everyone knows you can't easily write unit tests for EJB components. Or can you? I just wrote an article on testing EJBs in-container, and if you work with EJB technology you might want to take a look at it. A lot of the complaints about EJBs have focused on how difficult they are to unit test, and frameworks have begun to spring up that simulate the EJB container and server environments for testing purposes. I've recently stumbled upon a technology that has given me a very compelling reason to reconsider my EJB unit testing strategy."
Also, here on java.net, Joshua Marinacci has published part two of his look at The HTML Renderer Shootout. In this part he takes a look at commercial HTML renderers and lists a handful that didn't make the cut when measured against the requirements "of support for modern standards (XHTML and CSS1/CSS2 support), support for legacy pages, hackability, and speed. [Also] the code must be callable from Java (meaning the product is either 100 percent Java or a Java wrapper to native code), and the package must show some amount of recent activity."
In today's Weblogs, Richard Monson-Haefel writes OpenEJB: The BEST way to test EJBs. He points to the Rupp article mentioned above and writes that the goal of OpenEJB was "to create a fast and lightweight EJB container system that could be easily embedded in any application (its even been used in handheld devices). [..] The fact that OpenEJB is so lightweight and embeddable is why it actually serves as an excellent EJB testing tool. It starts up and deploys EJBs is seconds (that right I said seconds, not minutes). In addition, it provides a robust and fully compliant EJB container system - one that is used by Apache Geronimo for production enviorments."
Early access releases from Sun include Tiger Snapshots: bringing early feedback into the release cycle... "These are slightly tested builds that contain the latest fixes and changes to the latest release of J2SE, Tiger."
How do you measure market share if you don't charge anything for your product? This is Simon Phipps' question in Market Share or Sponsor Share? Simon asks "it seems that a mature market with open source players is a severe challenge to the usefulness of analysts. What's the answer?"
In today's Projects and Communities, Eduardo Pelegri-Llopart is "till surprised at how many people are confused about Sun's J2EE 1.4 SDK. For example, did you know it is free? Really free, even for deployment?"
Tray Icon API provides a platform-independent way to create system tray icons on the desktop. A tray icon can be animated, and it can have a caption (text), tool tip, and menu associated with it.
The Forums have been a bit quiet - must be time for us to stir something up.
In today's java.net News Headlines :
- Eclipse 3.0RC2
- Tiger Snapshots Becoming Available
- Jakarta Commons Collections 3.1-RC1, 2.1.1
- Apache Excalibur Website Operational
- Quartz Job Scheduler 1.4.0
Registered users can submit news items for the java.net News Page using our news submission form. All submissions go through an editorial review by news director Steve Mallet before being posted to the site. You can also subscribe to thejava.net News RSS feed.
Current and upcoming Java Events :
- June 15 Debugging and Profiling Your Code Webinar
- June 21 6th Workshop on Learning Software Organizations
- June 23 NYJavaSIG: 1.5 Concurrency Utilities in Practice
- June 24 Accelerate Productivity with Sun Java Web Application Framework Mod Chat
- June 25-27 Western Canada Java Software Symposium
- June 27 Javapedia Workshop and Community Meeting
- June 28 - July 1 JavaOne 2004
- June 28 - July 2 WWDC 2004
- June 29 Java Communities in Action
- June 29 NetBeans Software Day at JavaOne
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. All java.net members can subscribe to the email updates for the site at the java-net Mailing Lists page. You must be logged in to subscribe to the javanet_Daily and javanet_Weekly lists. 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.
- Login or register to post comments
- Printer-friendly version
- daniel's blog
- 395 reads





