TheServerSide.com newsletters are designed to bring the most important news from the J2EE industry to your door, along with providing you with exclusive J2EE articles and advanced topics not found anywhere else. Our newsletters will also keep you informed with what's new on TheServerSide. The Newsletter will be sent to you weekly every Tuesday. Instructions for unsubscribing are at the end of this newsletter. This newsletter is printer-friendly, and viewable online
IN THIS ISSUE
Featured Technical Articles
o Implementing a Data Cache using Readers and Writers
o Automatic Bean-Managed Persistence
Enterprise Java Education Strategies
o Be the KING of the J2EE jungle
Shape the Next Set of Definitive J2EE Books
o Mastering Enterprise Java Beans II
o Enterprise Java Beans Design Patterns
Latest Pattern Discussions
o GUIDs without Singletons and Databases
o CMP Primary Key Sequence Generated By Bean Self Cache
Latest Reviews
o WLS 6.0: Nice enhancements, a few bugs to work out
Key J2EE Industry News Headlines
FEATURED TECHNICAL ARTICLES
Implementing a Data Cache using Readers And Writers
by Billy Newport, EJB Consultant
You may have come across a situation where you need to cache some data in your server. You then use this cache to service queries from incoming requests. You will also probably have a thread that listens for cache update events. This thread updates the cache in response to these events.This leads to a problem as it's unlikely that both the threads servicing requests and the update thread will be able to use your cache simultaeneously. You may be tempted to use an exclusive lock such as a Java synchronised block to handle this. This will work but it is probably the worst way that you can do this from a performance perspective. This articles shows how you can use reader writer locks to accomplish the same thing using a much more efficient technique.
Read the rest of the article here.
Automatic Bean-Managed Persistence
by Compoze Software
The promise of truly portable components has been hampered by problems writing truly portable entity beans. Differences in application server and database implementations require runtime switches or even full code changes to make persistence code run in different configurations.
A vendor of J2EE components, Compoze Software has come up with a fascinating solution built on top of J2EE, to help them make their own components fully reuseable. Automatic Bean-Managed Persistence (ABMP) is a framework that allows for building portable EJB Components across different application server and database implementations.
Read the rest of the article here.
Back to Top
ENTERPRISE JAVA EDUCATION STRATEGIES
Be the king of the jungle: Train to become the master of Enterprise Java
J2EE. EJB. XML. Most developers take months to learn these technologies. Why spend an eternity? Your time is valuable. With The Middleware Company, in just a few short weeks, you can master these technologies. Come learn with us. The Middleware Company will make you the king of the Java jungle.
Sign up for one of our courses 3 weeks in advance and receive a free GPS locator device!
Course schedule:
New York:Visit The Middleware Company for more information.
XML & Web Services: April 30 - May 4
Mastering EJB: April 16 - 20
EJB For Architects: April 23 - 27
Bay Area:
Mastering J2EE: May 7 - 14
Mastering EJB: May 14 - 18
EJB For Architects: May 21 - 25
Austin:
XML & Web Services: June 18 - 22
Mastering EJB: June 11 - 15
EJB For Architects: April 16 - 20
Mastering J2EE - April 9-13
Back to Top
Shape the Next Set of Definitive J2EE Books
TheServerSide.com is hosting two new J2EE book projects: Mastering EJB II, and EJB Design Patterns. Chapters from these two new books will be posted to TSS as they are written for public feedback. For the first time ever you will be able to directly participate in the writing of these two influential books and personally influence thousands of developers who will learn from them.
How you can help
Chapters will be posted in Microsoft Word format. To review a chapter, simply type your additions/comments/corrections directly into the word document and mail it back to the authors. The word documents will be shipped with Track Changes set to on inorder for your comments to be integrated with the chapter. All emails to the authors other than these documents may be discarded.
Mastering Enterprise Java Beans II
Mastering EJB was one of the original and most influectial EJB books in the industry. Mastering EJB II now returns with two new expert co-authors, updated for EJB 2.0 and improved with advanced topics such as large scale systems design, J2EE project management, complex persistence and more.
First Public Review Postings:
- April 10th: Best Practices for EJB Projects, by Scott Ambler
- April 10th: Message Driven Beans, by Tyler Jewel
Enterprise Java Beans Design Patterns
A companion/standalone book to Mastering EJB 2, EJB Design Patterns seeks to solidify and centralize all the cutting edge strategies and design patterns in use today.
First Public Review Postings:
Back to Top
LATEST PATTERN DISCUSSIONS
GUIDs without Singletons and Databases
By Steve WoodcockThe problem of generating unique IDs can essentially be broken down as uniqueness over space and uniqueness over time which, when combined, produces a globally unique sequence. Previous solutions have required a database or a singleton object technique to try and overcome these limitations. However, by taking the following format we can address these issues in a simple manner.
Click here to read the rest of this pattern.
CMP Primary Key Sequence Generated By Bean Self Cache
By Oliver YangUsing a CMP, we can write fairly less codes and do same job as a BMP bean. But we often have such problem how we can generate a primary key and it a non-duplicate key value, when we create a new entity bean. I tried doing some ways, e.g. using key generator – another session EJB that finds the latest key value from the database, or creating a data access object instance to do it. I appreciate the ways above. They exactly resolve the problem. But the extra work, to access a database every time when creating a CMP bean, would increase net traffic and container overhead. It is a trade off. Can we do better? The answer is “yes”. We can use the EJB self cache the latest key value. Only when the server is restarted, it fetches the latest key value form its persistence by using a stateless session bean.
Back to Top
NEW APPLICATION SERVER REVIEWS
WLS 6.0: Nice enhancements, a few bugs to work out By Dion Almaer
There are a lot of good additions to WLS 6.0, however it looks like some bugs need to be ironed out (Service Pack 1 seems to fix a lot). I like the fact that you can shove a .jar file into a directory and have it auto-deploy (JBoss has had that for a long time), and in general I have been impressed with the product. Read the review here.
Back to Top
LATEST J2EE NEWS
GM Buy Power website to go J2EE
GM BuyPower one of the world's largest automobile-buying sites on the Internet will soon be converted into a J2EE based application. The GM BuyPower site will likely become one of the largest-scale J2EE implementations so far.
Click here to read more.
Sun Denies Reported Plan to Take Aim at BEA
A Reuters article is denying that Sun plans to bundle iPlanet and Solaris. The article quotes Andy Ingram, vice president of Solaris software marketing. "We're not announcing anything like we're embedding it or giving a production license away for free," said Andy Ingram, vice president of Solaris software marketing. "It's not true."
Click here to read more.
New Version of Castor Data Binding Framework Release
The Exolab Group released a new version of Castor Data Binding Framework. Castor is used to map "a given data format, such as SQL tables or an XML Schema, into a specific representation for a given programming language". Castor works with JDBC 2.0 compliant databases, it features: Source code generation, automatic XML data binding for class definitions, and many other features.
Click here to read more.
PrismTech ships OpenFusion Java Data Objects (JDO) Beta Release
PrismTech is "shipping a beta JDO preview implementation as part of its OpenFusion(tm) product line". "The tools provided with the implementation will allow for persistent Java classes to be described using XML descriptors and for the mapping to the data stores to be fully automated and described in XML."
Click here to read more.
WebGain Releases Application Composer
WebGain released Application Composer a visual RAD tool that can be used to assemble "J2EE, JSP, servlet and applet-based components". The tool contains "Built-in web server, EJB container, JSP engine, and object-relational database for out-of-the-box development". Composer is aimed at non-programmers. However if it lives up to its promises it can be useful to programmers.
Click here to read more.
OpenSymphony Cache 1.1 released
OSCache allows for fine-grained dynamic caching of JSP content (resulting in massive speed increases) and better error tolerance for JSP pages. Masses of bug fixes and new feature additions means this is moving past 'experimental' software into the realm of 'must have' software! ;)
Click here to read more.
Back to Top
ABOUT THESERVERSIDE / UNSUBSCRIBE
If you are receiving this newsletter it is because you signed up as a member of TheServerSide.com and elected to receive our newsletters. To unsubscribe from TheServerSide.com's weekly newsletter, log on to TheServerSide and edit your user profile. Email webmaster@theserverside.com if you are having problems editing your profile.
About TheServerSide.com
TheServerSide.com J2EE community is brought to you by The Middleware Company. The Middleware Company is an advanced training and consulting company dedicated to server-side Java. The Middleware Company offers onsite training courses in Java 2, Enterprise JavaBeans (EJB), the Java 2 Platform, Enterprise Edition (J2EE), and the Extensible Markup Language (XML). They also aid in the design, development, and deployment of middleware solutions.
Visit The Middleware Company.
This newsletter and contents are Copyright © 2001 The Middleware Company LLC