Welcome!

Jason Westra

Subscribe to Jason Westra: eMailAlertsEmail Alerts
Get Jason Westra via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Jason Westra

I have two newsworthy items to talk about this month. One concerns the application server market; the other pertains to a newly announced partnership in the wireless space. Each tidbit dates from July, but as editorial schedules run a bit behind the times, I'll relay them to you now. In my last editorial, "The BEA Slayer?", I mentioned that free application servers would not affect BEA, whether they are open source like JBoss, or bundled with hardware like the Sun ONE Server and HP's Application Server. Interestingly enough, about two weeks after my editorial went to the printer, HP announced it was leaving the application server market! A Reuters report said, "HP, which has been losing money in software, said in a statement it would focus on areas where it has had market success and intellectual property.... It is pulling the plug on three middleware platforms used ... (more)

UniqueID Generator: A Pattern for Primary Key Generation

Several patterns exist for generating primary keys for your EJB application. This month I'll provide a pattern for generating PKs that's scalable, generic, and portable. My format for defining the pattern will follow the catalogued layout presented in the Gang of Four book, Design Patterns: Elements of Reusable Object-Oriented Software. Pattern: UniqueID Generator Intent: Generate unique IDs for persistent objects in an EJB application Also Known As: PID (Persistent ID) Factory GUID (Globally UniqueID) Manager Motivation Enterprise JavaBeans is a server-side component model that t... (more)

How to Develop Message-Driven Beans

This month in EJB Home I'll show you how to build a message-driven bean. Knowledge of this EJB will enhance your toolkit for developing asynchronous Enterprise Java applications - whether they're mission-critical or not. The Enterprise JavaBeans specification 2.0 introduced another bean into the mix. One of the primary goals for the EJB 2.0 release was to define how EJB interacts with the Java Message Service (JMS), thereby defining how these Enterprise Java APIs interact within the Java 2 Enterprise Edition (J2EE) platform. Until version 2.0 of the specification was released, the... (more)

Implementing J2EE Security With WebLogic Server

In the March issue of JDJ (Vol. 6, issue 3) we discussed the basics behind J2EE security, including coverage of role-based security for both the Web and EJB tiers. In Part 2, we provide an example of implementing J2EE security in the WebLogic Server. While this article and the examples contained within are specific to WebLogic 6.0, all of the deployment code and standard descriptors should be portable to any J2EE-compliant server. We won't cover encryption and SSL this month, as they're articles in their own right. Trader Application How many securities trading examples have you ... (more)

Transactions and Exception Handling in EJB 1.1

Many of you have been developing EJB applications since the 1.0 version of the specification. In the EJB 1.1 specification the approach toward EJB exception handling has changed slightly regarding the exceptions and transaction management responsibilities between bean providers and container vendors. Those of you who made the conversion from 1.0 to 1.1 may not have enjoyed this "tightening" of the spec. Exceptions are thrown at many different levels in large applications; each exception has a specific meaning and is handled differently by your application. To change how your app... (more)