Speakers Inderjeet Singh (inderjeet), Rick Saletta (rajiv), and Greg Murray
Moderator Edward Ort (MDR-edO)
This is a moderated forum.
MDR-edO: Welcome to Java Live! Our topic today is the J2EE Blueprints. Our guests are J2EE architect Inderjeet Singh, J2EE product line manager Rick Saletta, and Greg Murray, a key engineer on the J2EE team. Inderjeet is here. Rick should join us soon. So let's begin. Who has the first question about the Blueprints?
MDR-edO: When is the published book version of the Blueprints document Designing Enterprise Applications with the Java 2 Platform, supposed to be available?
inderjeet: The PDF/Postscript version of the book is available online today. The published version is expected to be available around JavaOne. However, you can preorder the book through Amazon.com and Barnes and Noble today.
vvernon: Is there a recommeded protocol/server for handling wireless using J2EE (WAP)?
inderjeet: Using JSP/servlet API, it is possible to do WAP today. The protocol essentially depends on what the server needs to produce. The recommendation is for how/where to produce WAP.
John Samolyk: For complex web apps implemented using MVC (EJB/JSP/Servlets), are there any performance (or other) trade-offs between a pure servlet implementation of the controller and view verses servlet/JSP or pure JSP implementation? I have seen test results (3/2000 issue of TrendMarkers at www.trendmarkers.com) that show pure servlet implemtaions having the edge.
inderjeet: The performance numbers speak of the technology today. I am sure that as the JSP implementations mature, the difference in performance will not be an issue. However, I think it is OKAY to use a servlet to implement the controller part. But the recommendation is to use JSP for the presentation.
dkinney: I thoroughly read the December 15th draft release of the Blueprints. When the final version was released, I glanced at it but didn't find any blatent changes. Are there any subtle updates of which I should be aware?
inderjeet: You are right, there were not many changes in the December and the final release. We essentially incorporated the reviewers comments and did editing changes.
MDR-edO: Is the intent for the Blueprints to be a maintained document? In other words, will it change over time?
inderjeet: Yes, our goal is to add more and more recommendations to the Blueprints over time. This may happen through a future edition of the same document, or some new ones.
bwang: Is there a way to make a graph presentation without using applets in the client tier in the J2EE programming model?
inderjeet: You can use a servlet to generate a GIF image that draws the graph.
John Samolyk: What is the advantage of using a single front component verses using multiple entry points? Why did the Sample App use a Main.jsp
instead of a servlet?
MDR-edO: Greg Murray, a key engineer on the J2EE team, has joined us. Welcome Greg!
inderjeet: The advantage of using a single front component is that you get a single point of entry. That logically simplifies the application. However, if you are implementing unrelated functionality in the same application, I can see the use of multiple controllers.
inderjeet: We used Main.jsp
in the sample application because we wanted to simplify the application by using a single technology such as JSP. However, this piece can also be implemented easily using a servlet.
vvernon: Once again on wireless. I imagine that the recommendation is to use XML/XSL to generate WML on the server. Is that what you mean by "how/where?"
inderjeet: XML/XSL can definitely be used to generate WML on the server. You can also use servlets/JSP to do this task.
MDR-edO: Rick Saletta, J2EE product line manager has joined us. Welcome Rick.
MDR-edO: Rick here, for those of you familiar with the Java Pet Store, we are adding additional functionality for B2B including XML integration for the demo at JavaOne. We encourage you to stop by and check it out, and then to download it after the show.
Randy: Can you give us some direction on where to find the pdf/postscript version of Designing Enterprise Applications with the Java 2 Platform, Enterprise Edition referred to earlier?
Greg: The url for the Blueprints is java.sun.com/j2ee/blueprints
loic: Hi Inderjeet, Great Work!!! But, have you seen any improvment from a vendor perspective? For instance, some "templates" could be implemented to represent your guidelines. Don't you think? 2- Are you working on a version where more UML representation could be introduced?
bwang: When the XML integrated version of the Pet Store demo will be available?
Greg: In response to bwang's question the XML integrated version is
viewable at Java One. We also hope to realease something in early fall.
inderjeet: Thanks, loic. Yes, we are seeing many vendors trying to run the sample app on their app-servers. We are considering adding UML representations as well. What tools would you like to see the blueprints content integrated with?
loic: Some modeling tool, for instances.
sumanth: Hi, I want to configure a servlet(cocoon) in weblogic 5.1 such that the servlet so configured is invoked each time a response with the mime-type "text/xml" is generated. 1.) will weblogic support to configure a servlet with a particular mime-type so that it post-process any servlet's response with the corresponding mime-type? 2.) if not what is the alternative? 3.)is there a servlet standards to filter responces in J2EE/WAR?
Greg: For those interested in looking at XML integration today take a look at the XML interoperablity portion by typing Pending Orders. The returned content is XML. The file that does this is the pendingorders.jsp file located in the docroot directory.
inderjeet: sumanth, please direct weblogic questions to their support forum. regarding response filtering in J2EE, we are considering it for a future release.
MDR-edO: Our queue has few questions. Anything more?
inderjeet: If we can not get to your questions in this chat, please send them to the APM-INTEREST@java.sun.com
loic: I think that your sample application is great. But it could be cool if instead of showing in 30 pages how to represent a component, you were giving a representation of it that could be loaded by a modeling tool and adapted to fit my needs.
frodo: ...I'm a little late on the scene, so this may have been asked already, but I'm wondering when the next release of the J2EE RI is coming so that some of the problems like compound Primary Key support will be fixed?
inderjeet: loic, thanks for the feedback. Our goal for this release was to have a document that reaches a wide audience at a conceptual level. We will definitely consider your feedback for our future releases.
Greg: The next version of the RI will be available very soon. I believe that you should see something before mid May.
vvernon: Could you please give a basic overview of how J2EE helps with wireless applications beyond the standard server side stuff? What architecture is in place, if any, to help interface to WAP?
inderjeet: vvernon, We are investigating to add APIs for easier generation of WAP content on the web-tier.
JMAF: What´s going to be new at EJB 2.0 Specification? more or less?
inderjeet: JMAF, the EJB 2.0 specification is on track the JCP process. Briefly, we are considering JMS support, EJB Home business methods, better CMP, etc.
vvernon: Cool. How can I help/participate?
inderjeet: vvernon, You are welcome to participate through the servlet feedback aliases.
copetin: Will there be a J2EE for Linux?
neerajvora: Hello Guys, I took the Lesson 1 Application from the J2EE tutorial (EJB no Database) and tried dropping the ear file into another application server (pre-release version of app server orion) but it didnt work. I noticed there were a few bugs in J2EE ear file creation. When can I expect to see that level of inter-operability? Thanks!
inderjeet: neerajvo, that level of interoperability will happen as the app-servers become J2EE complaint. We are already seeing some vendors trying to run blueprints sample app on their servers.
Greg: copetin, J2EE on Linux will be included in the May update release of J2EE. The Linux release works great. Our team has been using it for some time.
AP: Hi, I have seen the mention of a Data Access Object for the EJBs. Can you shed more light as to how it would help in a better design as compared to having Data Access in the EJB itself
inderjeet: AP, having a separate data access object helps in swapping in a new database. All you need to do is to plug-in a new data access object. In future, we expect some tools to generate these objects automatically.
MDR-edO: Well our hour has drawn to a close. I'd like to thank everyone who participated in the session. And of course a special thanks to our guests Inderjeet, Greg, and Rick.
Greg: Hi everyone, some aliases that may be usefull. Blueprints related Questions: apm-interest@java.sun.com General J2EE questions j2ee-interest@sun.com We will have a booth at JavaOne some please stop by and we can anwser your questions in person.
inderjeet: Thanks Ed for hosting this chat, and thanks to participants for the questions and the feedback. Keep it coming on our various aliases/mailing lists.
MDR-edO: Last moderator (me) signing off. The forum is now unmoderated
Reader Feedback
Tell us what you think of this transcript.