672329 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 7 Messages: 7 Messages: 7 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Featured Article: An Adventure with J2EE 1.4 Blueprints

Posted by: Dion Almaer on May 03, 2004 DIGG
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

Threaded replies

·  Featured Article: An Adventure with J2EE 1.4 Blueprints by Dion Almaer on Mon May 03 08:37:25 EDT 2004
  ·  Portability issues fixed in the latest version. by Larry Freeman on Tue May 18 14:52:51 EDT 2004
    ·  Portability issues fixed in the latest version. by Debu Panda on Tue May 18 16:15:13 EDT 2004
    ·  Struts & UML components missing by Roger Rustin on Wed May 19 09:59:07 EDT 2004
    ·  article hard to understand by Web Master on Sat Jun 05 00:47:59 EDT 2004
  ·  Featured Article: An Adventure with J2EE 1.4 Blueprints by Kees van Dieren on Wed May 19 06:25:08 EDT 2004
  ·  Blueprint app demarcates JTA transactions in servlet filters ?! by Dirk Schmidt on Wed May 26 04:18:15 EDT 2004
    ·  JTA transactions are not allowed per the J2EE 1.4 Specification by Gregory Murray on Thu May 27 20:37:23 EDT 2004
  Message #122651 Post reply Post reply Post reply Go to top Go to top Go to top

Portability issues fixed in the latest version.

Posted by: Larry Freeman on May 18, 2004 in response to Message #120384
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

  Message #122668 Post reply Post reply Post reply Go to top Go to top Go to top

Portability issues fixed in the latest version.

Posted by: Debu Panda on May 18, 2004 in response to Message #122651
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

  Message #122749 Post reply Post reply Post reply Go to top Go to top Go to top

Featured Article: An Adventure with J2EE 1.4 Blueprints

Posted by: Kees van Dieren on May 19, 2004 in response to Message #120384
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.

  Message #122771 Post reply Post reply Post reply Go to top Go to top Go to top

Struts & UML components missing

Posted by: Roger Rustin on May 19, 2004 in response to Message #122651
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

  Message #123440 Post reply Post reply Post reply Go to top Go to top Go to top

Blueprint app demarcates JTA transactions in servlet filters ?!

Posted by: Dirk Schmidt on May 26, 2004 in response to Message #120384
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 ?!

  Message #123728 Post reply Post reply Post reply Go to top Go to top Go to top

JTA transactions are not allowed per the J2EE 1.4 Specification

Posted by: Gregory Murray on May 27, 2004 in response to Message #123440
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

  Message #124736 Post reply Post reply Post reply Go to top Go to top Go to top

article hard to understand

Posted by: Web Master on June 05, 2004 in response to Message #122651
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.

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 2

Reza Rahman continues to explore the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (January 21, Article)

Ted Neward Q&A: What you must know about JavaScript, Scala and more

Ted Neward is an independent consultant specializing in high-scale enterprise systems, and an authority in Java and .NET technologies. He is the author and co-author of several books, including Effective Enterprise Java. At TheServerSide Java Symposium in March, he will be presenting sessions on pragmatic architecture, ECMAScript and Scala. (January 15, Article)

Developers split on open sourcing Java

Now that Oracle is absorbing Sun Microsystems, there mixed views on what should come of the Java Community Process (JCP). While some say Oracle should become the new steward of Java and keep the JCP much as it was, others argue that it may be time to open-source this widespread language. (November 24, Article)

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Free Book: Jakarta-Struts Live

Download the entire book of Jakarta-Struts Live and learn about Struts MVC, Tiles, the Validator, DynaActionForms, plug-ins, internationalization, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map