Java Platform, Enterprise Edition

Java EE Journal

Subscribe to Java EE Journal: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get Java EE Journal: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories

Preparing for an interview? Want to just revisit Java SE 7 features? Trying to recollect or revise a Java SE programming construct? Let me take you back in time to what was introduced first in Java SE 7? Join me for this tutorial series on Java as we all eagerly await the official release of Java SE 9. Java SE 7 Release Date: 28-07-2011 Java SE 7 Code Name: Dolphin Java SE 7 Highlights Strings in switch statements. Automatic resource management in try statements. Improved type inference for generic instance creation, AKA the diamond operator <>. Simplified varargs method declaration. Binary integer literals. Allowing underscores in numeric literals. Catching multiple exception types and rethrowing exceptions with improved type checking. I have provided some of the most important core language enhancements for JDK 7.0, along with code samples. The examples provided bel... (more)

Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate

JavaServer Faces (JSF) technology is a new user interface framework for J2EE applications. This article uses the familiar Pet Store application to demonstrate how to build a real-world Web application using JSF, the Spring Framework, and Hibernate. Since JSF is a new technology, this article will concentrate on the use of JSF. It presents several advanced features in JSF development, including Tiles integration and business logic-tier integration. Java Pet Store The Java Pet Store is a sample application from the Java Enterprise BluePrints program. It documents best practices, design patterns, and architectural ideas for J2EE applications. MyPetStore, the sample application for this article, is a reimplementation of the Java Pet Store using JSF, Spring, and Hibernate. I won't be able to cover all the features of the Pet Store in one article. MyPetStore allows a user ... (more)

Rich Internet Applications with Adobe Flex 2 and Java

A typical Java developer knows that when you need to develop a GUI for a Java application, Swing is the tool. Eclipse SWT also has a number of followers, but the majority of people use Java Swing. For the past 10 years, it was a given that Swing development wouldn't be easy; you have to master working with the event-dispatch thread, GridBaglayout, and the like. Recently, the NetBeans team created a nice GUI designer called Matisse, which was also ported to MyEclipse. Prior to Matisse, JBuilder had the best Swing designer, but it was too expensive. Now a good designer comes with NetBeans for free. Why even consider Flex for developing Rich Internet Applications (RIA)? First, we'll give the short answer. Just look at the code in Listing 1. This code compiles and runs in the Flash player and produces the output shown in Figure 1. Yes, it's a tree control with several no... (more)

The Value of Automating Application Deployments

Click Here to Download the Value Estimator Now! Estimate the value of automating your application deployments and overall software delivery Take two minutes to determine the value your organization could attain. The IBM Rational software delivery automation value estimators illustrate how your organization can be positively impacted by the use of Rational automation software solutions. Click Here to Download the Value Estimator Now! ... (more)

Web Services Strategy - SAP Platform

Packaged business applications have dominated enterprise IT landscapes for over a decade. Now these products are undergoing major changes to segway into the world of Web Services. SAP has been one of the most aggressive companies in embracing this revolution. Its NetWeaver platform is an ambitious suite of integration technologies designed to morph SAP into enterprise SOAs. SAP unveiled a four-year roadmap for NetWeaver in 2003. This article looks at the platform at its halfway point as well as SAP's vision for creating a Web Services-based agile business process infrastructure. What Is NetWeaver? NetWeaver is really a brand that encompasses a suite of tools just like WebSphere, WebLogic, and .NET are umbrellas for a family of products within a platform. Some of these products are relatively new, while others are proven solutions that have been widely deployed. What ... (more)

HP vs Hurd: Hewlett Packard Sues Its Former CEO

News agencies around the world are reporting that HP is taking its former CEO Mark Hurd to court, just 24 hours after Oracle announced Monday that he'd been appointed Co-President of Oracle. According to early reports coming out of Silicon Valley, it is alleged by HP that it is a breach of his severance agreement for him to have accepted the Co-President position at Oracle so soon after his departure from HP. On the Official HP Blog is the following explanation: “Mark Hurd agreed to and signed agreements designed to protect HP's trade secrets and confidential information. HP intends to enforce those agreements.” The full complaint can be found here on Scribd; part of the introduction is excerpted below: “Despite being paid millions of dollars in cash, stock and stock options in exchange for Hurd’s agreements to protect HP’s trade secrets and confidential information ... (more)

ESB Myth Busters: 10 Enterprise Service Bus Myths Debunked

Since releasing my latest book, Enterprise Service Bus (O'Reilly Media, 2004), I have been doing a fair amount of visiting corporations, conducting seminars, and generally discussing with enterprise architects the subject of enterprise service-oriented architecture (SOA) and how an enterprise service bus (ESB) backbone can be leveraged to provide a framework for an enterprise SOA. Along the way, I have been asked many questions about the nature of an ESB. I have also fended off some misconceptions that have been growing in the general IT population regarding what an ESB is and when, where, and how it can be used. I have gathered together the most popular questions and misconceptions, and offer some clarity in the form of a "top ten" list. Myth #1. ESB is just a new name for EAI. While many IT architecture groups are focusing on building SOAs, they still inevitably be... (more)

JavaOne 2008: SOA, SCA, REST and Comet Discussed

DeCare Systems Ireland Blog Even though 'Service' comes first in SCA (Service Component Architecture), SCA is a distributed component model. It's about designing components (and composites) rather than designing services. It doesn't feel like it was designed to build a SOA. It feels like its main goal was to define a distributed component model. And as we all know, the distributed component models failed in the past. I think SCA will too. For the second day of JavaOne my schedule contained technical sessions and BoFs about mostly SOA, SCA, REST and Comet. SCA I attended two more sessions about SCA: - Open-Source SOA with SCA and Apache Tuscany - Open Standards for SOA and Java technology The second one was a panel session. The host was MC David Chappell of Chappell and Associates and the panellists were David Chappell of Oracle, Mike Edwards of IBM, Steve Jones of Capgem... (more)

Eclipse: The Story of Web Tools Platform 0.7

The Eclipse Open Source Integrated Development Environment (IDE) (see http://eclipse.org) is rapidly gaining popularity among Java developers primarily because of its excellent Java Development Tools (JDT) and its highly extensible plug-in architecture. Extensibility is, in fact, one of the defining characteristics of Eclipse. As the Eclipse home page says, "Eclipse is a kind of universal tool platform - an open extensible IDE for anything and nothing in particular." Although Eclipse is itself a Java application, all tools, including JDT, are on an equal footing in that they extend the Eclipse platform via well-defined extension points. Of course, an infinitely extensible, but empty, platform might be interesting to tool vendors, but very boring for developers. Therefore, the initial version of Eclipse came with the JDT and the Plug-in Development Environment (PDE)... (more)

Creating Web Applications with the Eclipse Web Tools Project

The Web Tools Project (WTP) by the Eclipse Foundation is a set of open source tools that substantially reduce the time required for the development of Web applications, EJBs, and Web services. The WTP's current version is 0.7.1 and version 1.0 is coming later this year. The framework provides wizards and tools to create EJBs, Web components such as servlets and JSPs, and Web services using the Axis engine. It also provides source editors for HTML, JavaScript, CSS, JSP, SQL, XML, DTD, XSD, and WSDL; graphical editors for XSD, WSDL, J2EE project builders, models, and a J2EE navigator; a Web service wizard, explorer, and WS-I Test Tools; and database access, query tools, and models. In this article I'll show you how to develop and deploy a JSP Web application with WTP in less than an hour. I'll also cover the creation and deployment of a basic servlet and editing JSP ... (more)

XA Transactions

Most developers have at least heard of XA, which describes the standard protocol that allows coordination, commitment, and recovery between transaction managers and resource managers. Products such as CICS, Tuxedo, and even BEA WebLogic Server act as transaction managers, coordinating transactions across different resource managers. Typical XA resources are databases, messaging queuing products such as JMS or WebSphere MQ, mainframe applications, ERP packages, or anything else that can be coordinated with the transaction manager. XA is used to coordinate what is commonly called a two-phase commit (2PC) transaction. The classic example of a 2PC transaction is when two different databases need to be updated atomically. Most people think of something like a bank that has one database for savings accounts and a different one for checking accounts. If a customer wants t... (more)