Debu Panda has written about the latest addition to the Java Blueprints program, the Adventure Builder. He reviews the architecture, and the portability issues that he found when porting to OC4J.
Read Debu in An Adventure with J2EE 1.4 Blueprints
-
Featured Article: An Adventure with J2EE 1.4 Blueprints (7 messages)
- Posted by: Dion Almaer
- Posted on: May 03 2004 08:37 EDT
Threaded Messages (7)
- Portability issues fixed in the latest version. by Larry Freeman on May 18 2004 14:52 EDT
- Portability issues fixed in the latest version. by Debu Panda on May 18 2004 16:15 EDT
- Struts & UML components missing by Roger Rustin on May 19 2004 09:59 EDT
- article hard to understand by Web Master on June 05 2004 00:47 EDT
- Featured Article: An Adventure with J2EE 1.4 Blueprints by Kees van Dieren on May 19 2004 06:25 EDT
- Blueprint app demarcates JTA transactions in servlet filters ?! by Dirk Schmidt on May 26 2004 04:18 EDT
- JTA transactions are not allowed per the J2EE 1.4 Specification by Gregory Murray on May 27 2004 20:37 EDT
-
Portability issues fixed in the latest version.[ Go to top ]
- Posted by: Larry Freeman
- Posted on: May 18 2004 14:52 EDT
- in response to Dion Almaer
As the engineering manager for the Java BluePrints team, I am very glad to see the Java Adventure Builder Reference application getting more attention.
Thanks very much for your comments.
I wanted to let everyone know that the portability bugs that Debu mentioned in the blog have already been fixed in the latest release (version 1.0.1): http://java.sun.com/blueprints/code/index.html and that version 1.0.1 has been verified using the Java Application Verification Kit (AVK): http://java.sun.com/j2ee/verified/avk_enterprise.html.
Stay tune for the upcoming J2EE 1.4 BluePrints book: http://www.aw-bc.com/catalog/academic/product/0,1144,0321205219,00.html
Cheers,
-Larry -
Portability issues fixed in the latest version.[ Go to top ]
- Posted by: Debu Panda
- Posted on: May 18 2004 16:15 EDT
- in response to Larry Freeman
yes, Sun released an updated version of the Adventure Builder application (release 1.0.1) just around the same time I wrote this article. I've verified that following issues has been resolved
1) The portability issues reported by me to them has been fixed
2) The sample is now bundled separately from the J2EE 1.4 demo bundles.
regards
Debu -
Struts & UML components missing[ Go to top ]
- Posted by: Roger Rustin
- Posted on: May 19 2004 09:59 EDT
- in response to Larry Freeman
I have been working on J2EE projects for a few years now, still I has so much difficulty understanding WAF (web application framework) used in the pet store example. I haven't gone through the Java Adventure Builder yet but would strongly suggest J2EE team to consider using Struts as the default framework.
Secondly, the number of UML diagrams available for pet store example is not sufficient for understanding the architecrue of the system in the first go. And I am not alone. Look at the number of questions posted on the java forum looking for the UML diagrams.
All said and one , I'm sure thousands have benefitted from the blueprints.
Thank You.
- Roger -
article hard to understand[ Go to top ]
- Posted by: Web Master
- Posted on: June 05 2004 00:47 EDT
- in response to Larry Freeman
Some good points, but the article was hard to understand in some places, particularly as English obviously wasn't the author's main language. I would suggest the author gets someone to proof-read and grammatically correct his future offerings before publishing. Makes this site look unprofessional. -
Featured Article: An Adventure with J2EE 1.4 Blueprints[ Go to top ]
- Posted by: Kees van Dieren
- Posted on: May 19 2004 06:25 EDT
- in response to Dion Almaer
Thanks very much! I'm just developing with J2EE for 3 months.The blueprints will help me design J2EE applications much better, making a good design on the J2EE platform is not easy for starters, I think the blueprints will help a lot. -
Blueprint app demarcates JTA transactions in servlet filters ?![ Go to top ]
- Posted by: Dirk Schmidt
- Posted on: May 26 2004 04:18 EDT
- in response to Dion Almaer
The adventure app uses a servlet filter to demarcates JTA transaction boundaries.
According to the J2EE spec this is not allowed?!:
Java 2 Platform Enterprise Edition Specification v1.4, chapter 4.2.1 says
"Servlet filters and web application event listeners must not demarcate transactions using the javax.transaction.UserTransaction interface. Servlet filters may use transactional resources in a local transaction mode within their doFilter methods, but should not use any transactional ressource in the methods used to wrap the request or response object."
Do I misunderst something or does the bluprint app violate the spec ?! -
JTA transactions are not allowed per the J2EE 1.4 Specification[ Go to top ]
- Posted by: Gregory Murray
- Posted on: May 27 2004 20:37 EDT
- in response to Dirk Schmidt
We did have a JTA transaction in a filters in an early access version of the Adventure Builder. The final code shipment versions of the application 1.0 and the 1.0.1 the transactions are now being performed
within the service method of a serlvet.
For the latest Adventure Builder see:
http://java.sun.com/blueprints/code/index.html