![]() | ||
|
|
Enterprise JavaBeansEnterprise JavaBeans (EJB) is the primary server-side enterprise Java component architecture that allows developers to design and develop customizable, reusable business logic. Specific EJB topics of interest, include clustering, security, interoperability, design patterns, Message Beans, EJBQL, and Enterprise Media Beans (EMB).Subtopics: Standardizing Java Persistence with the EJB3 Java Persistence API By Debu Panda Dissatisfaction with entity beans as an "official" means of persisting Java objects to databases has prompted a number of "unofficial" approaches, such as the very popular Hibernate. Now EJB3 seems to have learned its lesson: its new Java Persistence API allows you to persist plain old Java objects (POJOs) with a minimum of fuss and just a few annotations. Debu Panda looks at how to put this new standard to work. May. 17, 2006 JBoss Seam By Thomas Heute Many frameworks are perfectly sensible and well-designed on their own, but don't work particularly well when you try to combine them. Combining, for example, JSF and EJB 3.0 requires a lot of glue code, and adding another framework like JBoss BPM confuses things further. JBoss Seam is designed to provide common context for frameworks to share objects. Project leader Thomas Heute introduces Seam and what you can do with it. Mar. 15, 2006 Using Dependency Injection in Java EE 5.0 By Debu Panda Dependency injection, also known as inversion of control, is a programming technique being adopted by many programmers and frameworks, including the popular Spring framework. But using it in J2EE 1.4 requires a burdensome deployment-descriptor-based approach. Debu Panda shows how Java EE 5.0 provides relief in the form of annotations-based dependency injection. Jan. 4, 2006 Bean-Managed Transaction Suspension in J2EE By Dmitri Maximovich Container-managed transactions seem more capable than bean-managed transactions in the EJB spec, with the latter unable to, for example, suspend and resume transactions. But what looks like a limitation isn't necessarily so, according to Dmitry Maximovich, who shows you how to get to the underlying TransactionManager, making BMT as powerful as CMT. Jul. 20, 2005Constructing Services with J2EE By Debu Panda Web services are a popular means of deploying service-oriented applications, and the standards in J2EE 1.4 make it easier to develop services that are portable and interoperable. Debu Panda shows you how, and takes a look at how things will get easier in J2EE 5.0. May. 25, 2005 On-Demand Stateful EJBs By Swaminathan Radhakrishnan EJB session beans can be stateful or stateless, but they can't easily change from one to the other. That can be a problem in certain business situations. Swaminathan Radhakrishnan has a pattern that he says can address this problem. Feb. 23, 2005 Local and Remote EJB Interfaces By Olexiy Prokhorenko EJB 2.0's local interfaces can make your enterprise applications much faster, as they share data in memory instead of via an RMI link. But when can you use local interfaces, and when are you forced to go remote? Olexiy Prohorenko introduces the strategies for making the local/remote decision. Nov. 3, 2004 Using Timers in J2EE Applications By Debu Panda J2SE gained support for scheduled tasks in 1.3, and J2EE 1.4 provides an enterprise equivalent, with transactional, scheduled callbacks provided by application containers. Debu Panda introduces J2EE timers by way of an EJB that gets scheduled services. Oct. 13, 2004 "Head First EJB" Author Interview By Daniel H. Steinberg Kathy Sierra and Bert Bates have just completed the second title in O'Reilly's Head First series, the recently released Head First EJB, a certification book as unique as the series itself. In this interview, the authors discuss why the Head First series now includes a certification book, why the book is essential even if you're not planning to take the exam, how they've used their unique teaching style to help Java candidates pass the EJB exam, and much more. Nov. 5, 2003 Understanding Classloaders: log4j in a J2EE Environment By Vikram Goyal EJBs are a little different from the normal J2EE world. Part of that difference lies in the app server's classloaders. While demonstrating how to use log4j with EJB applications, Vikram Goyal explains how classloaders work and how to use them. Apr. 2, 2003 EJB Free and Open Source Tools Summary By Emmanuel Proulx What's the best platform for J2EE development? Emmanuel Proulx finds himself answering that question time after time. In this article, he explores several free-as-in-speech and free-as-in-beer EJB 2.0 tools and gives his suggestions for choosing an application server. Feb. 26, 2003 OpenEJB: EJB for Tomcat By Jacek Laskowski If you've ever added EJBs to an existing application, you know they can be complicated. Adding Tomcat makes it trickier. Fortunately, OpenEJB makes the process almost painless, as Jacek Laskowski explains. Feb. 12, 2003 Automating EJB Unit Testing By JiRong Hu Adopting Extreme Programming (XP) requires programmers to have automated unit tests for most of their code. Achieving that with Enterprise Java Beans presents some difficulties. One reason is that EJBs must be deployed before testing; another reason is their intrinsic relationship to the database. Using JUnit and Apache Ant, JiRong Hu shows a simple solution to automating EJB unit testing -- moving one step closer to true XP. Feb. 5, 2003 EJB Inheritance, Part 4 By Emmanuel Proulx This series has demonstrated all sorts of ways to handle inheritance in beans. With web and message services, though, how do you handle inheritance with remotely-invoked beans? The EJB 2.0 specification allows it; Emmanuel Proulx demonstrates how. Jan. 29, 2003 EJB Inheritance, Part 3 By Emmanuel Proulx Session beans can take advantage of inheritance, just like entity beans. Indeed, implementing session bean inheritance is nowhere near as hard as it is with entity beans. Part 3 of this series shows the proper technique for implementing inheritance in session beans and addresses the use of factories. Nov. 13, 2002 EJB Inheritance, Part 2 By Emmanuel Proulx Part two of this series on inheritance with Entity Java Beans focuses on the various options for table mapping. Sep. 25, 2002 EJB Inheritance, Part 1 By Emmanuel Proulx The principles of object-oriented programming are encapsulation and inheritance. Enterprise JavaBeans handle encapsulation just fine, but what about inheritance? In this article, the author attempts to apply inheritance to EJBs. Sep. 4, 2002 What's New in EJB 2.1? By Emmanuel Proulx The draft spec for EJB 2.1 is out, and it includes enhancements to message-driven beans, the query language, and support for Web services. Aug. 14, 2002 Business Logic, Part 3 By Brett McLaughlin In Part 3 of our excerpt from Building Java Enterprise Applications (Vol. 1, Architecture), Brett McLaughlin addresses issues of statelessness and statefulness. Mar. 13, 2002 Business Logic, Part 2 By Brett McLaughlin In Part 2 of our excerpt from Chapter 8 of Building Java Enterprise Applications, Vol I: Architecture, Brett McLaughlin builds a UserManager component, and illustrates why managers are a good thing. Mar. 6, 2002 JDO vs. Entity Beans: A Modest Proposal By Marek Mosiewicz The Java Data Objects (JDO) approach can replace performance-poor Entity Beans in many cases. But JDO is not enough; here's a proposal for improving Entity Beans without sacrificing their server-side power. Feb. 27, 2002 Business Logic, Part 1 By Brett McLaughlin In this excerpt from Chapter 8 of Building Java Enterprise Applications, Vol I: Architecture, Brett McLaughlin discusses the façade pattern, in which you use session beans to access entity beans. This access method is used instead of allowing direct access to entity beans, and is key to a sound strategy in building enterprise applications. Feb. 20, 2002 Using XDoclet: Developing EJBs with Just the Bean Class By Dion Almaer XDoclet creates and manipulates XML descriptors and interfaces for EJBs. This article shows you how to take advantage of this open source tool. Jan. 30, 2002 The Debate Over Java Data Objects By Dion Almaer The Java Data Objects spec is intended to free developers from worrying about mapping objects to databases. But not everyone thinks it's a great idea. Vendors like Thought Inc. take issue with JDO and think they have better solutions. Dion Almaer weighs in on the issues. Jan. 23, 2002 Unlocking the True Power of Entity EJBs By Tyler Jewell Tyler Jewell explains the real power of entity EJBs: developers can write once and deploy many times, with each deployment customized for unique data scenarios. Dec. 19, 2001 Stateful Session EJBs: Beasts of Burden By Tyler Jewell Tyler Jewell, BEA Systems Java Trainer, discusses the true purpose of Stateful session EJBs (SFSBs), where they belong in a J2EE design, and where they should not be used. Learn how to harness these beasts to create more robust architectures--not more burdens. Oct. 2, 2001 EJB Message-Driven Beans By Richard Monson-Haefel In this excerpt from Chapter 13 of Enterprise JavaBeans, Richard Monson-Haefel explains EJB 2.0 Message-Driven Beans, and shows you how to use these in your enterprise Java and Web services development efforts. Sep. 27, 2001 Learning EJB QL By Jeelani B. Shaik Learn how the addition of EJB QL to EJB 2 justifies the distributed component architecture as the standard way of defining queries, which allows database applications to be more portable. Sep. 19, 2001 EJB 2 and J2EE Packaging, Part II By Tyler Jewell Tyler Jewell continues his coverage of J2EE packaging issues by focusing on the approaches that vendors can use for implementing EAR classloaders and their ambiguities. Jul. 25, 2001 EJB 2 and J2EE Packaging By Tyler Jewell Tyler Jewell is back to discuss some of the nuances associated with J2EE packaging and provides some hints to make you more productive. Jun. 26, 2001 Using Ant and WebLogic EJBs By Jesse E. Tilly EJBs are complex. The steps required just to deploy them for Web application servers are difficult. But for developers using BEA WebLogic, life is much easier, thanks to Ant. Jun. 25, 2001 EJB 2 Message-Driven Beans By Dion Almaer This article will talk about the new EJB 2.0 Message Driven Beans. I will walk through an example of using this new bean, along with the corresponding JMS infrastructure that surrounds it. May. 22, 2001 EJB 2.0 Specification Release Review By Tyler Jewell The latest revision of EJB 2.0 removes dependent objects and introduces local interfaces. Here's how to deal with them. May. 10, 2001 Sorting Out the EJB 2.0 Rumors By Tyler Jewell Tyler Jewell examines the latest rumors about the changing EJB 2.0 specification. Mar. 29, 2001 What's Wrong with the EJB 2 Specification? By Tyler Jewell Tyler Jewell points out errors in the latest EJB 2.0 API specification. Feb. 28, 2001 Clustering Stateless Session Beans By Tyler Jewell Adding to last month's article, Jewell demonstrates other techniques for load balanced and fault tolerant EJBs. Jan. 18, 2001 EJB 2 Clustering with Application Servers By Tyler Jewell Tyler Jewell, BEA Systems Java Trainer, teaches clustering with EJB 2, including a systematic breakdown of the different possibilities that application server vendors may incorporate. Dec. 15, 2000 |
|
|
||||||||||||||||||||||||||||||||||||||||||||||