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

Deployment Methodology 1. Problem Statement We are given a desktop platform with Java 8 or Java 9 installed and seek to find a way to deploy high-performance Java applications that use Java 3D and/or Jogl without having to run an installer. We are subject to the constraint that the applications be signed and deployed so that they can be run in a trusted environment (i.e., outside of the sandbox). Further, we seek to do this in a way that does not depend on bundling a JRE with our applications, as this makes downloads and installations rather long. The novel javapackager command (included in the JDK versions 8 and 9), produces the program installation packages in the range of sizes from 57 to 202 Megabytes approximately. 2. Motivation We have a long history of making use of Java 3D applications in the software engineering community. Since the introduction of Java 3D i... (more)

Java 9 Language Features | @CloudExpo #Java #APM #Monitoring

Java 9 Language Features By Philipp Lengauer Java 9 ships with some minor—yet awesome—new language features that make developing easier and cleaner. In this post, we’ll take a look at three of these new features. Private interface methods You probably remember interface methods, which were introduced in Java 8. These are required so that Java itself, as well as framework vendors, can add new methods to interfaces without breaking pre-existing implementations. As these methods can become rather complex, Java now enables you to declare interface methods as private. This allows for extracting common code from interface methods while hiding the code from external use. public interface DeepThought { abstract int foo(); abstract int bar(); default int fooDecorated() { return decorate(foo()); } default int barDecorated() { return decorate(bar()); } private int decorate(int valu... (more)

A Practical Guide to Java Remote Debugging | @CloudExpo #JVM #Java #Cloud

A Practical Guide to Java Remote Debugging By Eugen Paraschiv Introduction to Debugging Troubleshooting a problem on a remote server, especially in production, is not an easy task. Sometimes it involves debugging the application code directly on the server. But the production servers are usually run in a strict environment, where not all convenient developer tools are available. In this article, you'll discover how to configure a running web server and debug your application using standard facilities provided by the Java platform. Caveats First off, if you try to connect to a remote running Java server which you did not specifically configure for debugging, you'd most likely fail. This means that the configuration steps should be taken in advance. On the other hand, you wouldn't want to always keep the production server running with debugging configuration enabled, a... (more)

The i-Technology Right Stuff

Related Links: Wanted: 19 More of the Top Software People in the World Sung and Unsung i-Technology Heroes Who's Missing from SYS-CON's i-Technology Top Twenty?" Our search for the Twenty Top Software People in the World is nearing completion. In the SYS-CON tradition of empowering readers, we are leaving the final "cut" to you, so here are the top 40 nominations in alphabetical order. Our aim this time round is to whittle this 40 down to our final twenty, not (yet) to arrange those twenty in any order of preference. All you need to do to vote is to go to the Further Details page of any nominee you'd like to see end up in the top half of the poll when we close voting on Christmas Eve, December 24, and cast your vote or votes. To access the Further Details of each nominee just click on their name. Happy voting!   In alphabetical order the nominees are:   Tim Berner... (more)

Java Virtual Machine | @CloudExpo @Stackify #DX #JVM #Java #Virtualization

A Deep Dive into the Core Metrics of the Java Virtual Machine By Eugen Paraschiv Overview of JVM Metrics In this article, we'll cover how you can monitor an application that runs on the Java Virtual Machine by going over some of the critical metrics you need to track. And, as a monitoring tool, we'll use Stackify Retrace, a full APM solution. The application we'll monitor to exemplify these metrics is a real-world Java web application built using the Spring framework. Users can register, login, connect their Reddit account and schedule their posts to Reddit. How JVM Memory Works There are two important types of JVM memory to watch: heap and non-heap memory, each of these with its own purpose. The heap memory is where the JVM stores runtime data represented by allocated instances. This is where memory for new objects comes from, and is released when the Garbage Colle... (more)

Who Are The All-Time Heroes of i-Technology?

I wonder how many people, as I did, found themselves thrown into confusion by the death last week of Jean Ichbiah (pictured), inventor of Ada.  Learning that the inventor of a computer programming language is already old enough to have lived 66 years (Ichbiah was 66 when he succumbed to brain cancer) is a little like learning that your 11-year-old daughter has grown up and left home or that the first car you ever bought no longer is legal because it runs on gasoline in an age where all automobiles must run on water. How can something as novel, as new, as a computing language possibly already be so old-fangled that an early practitioner like Ichbiah can already no longer be with us? The thought was so disquieting that it took me immediately back to the last time I wrote about Ichbiah, and indeed about Ada Lovelace for whom his language was named. It was in the context ... (more)

i-Technology 2008 Predictions: Where's RIAs, AJAX, SOA and Virtualization Headed in 2008?

2007 was undoubtedly the year of Social Networking, but what of 2008? Will '08 be the year of "Unified Communications" or the year when CMS comes to stand for "Community Management System" - or even "Collaboration Management System"? Or will it be the year of a giga-merger, to beat the mere mega-mergers of 2007? As usual at the end of each year, SYS-CON has been informally polling its globe-girdling network of software developers, industry executives, commentators, investors, writers, and editors. As always, the range and depth of their answers is fascinating, throwing light not just on where the industry is going but also how it's going to get there, why, because of who, within what kind of time-scale. Enjoy! RIAs versus AJAX . Ruby on Rails . PHP . Facebook Competitors  TIM BRAY Director of Web Technologies, Sun Tim Bray managed the Oxford English Dictionary projec... (more)

Problems Securing Your Applications?

This marks the first installment of a new monthly column, Community Focus, and the end of a long-running column, Tales from the List. Due to the rapid growth of ColdFusion community news and events and the growing popularity of blogs (Web logs) amongst ColdFusion developers, it no longer seems appropriate to focus on one list server for a "messages from the trenches" type article. Each month, Community Focus will explore trends, Macromedia news, events, blog entries, and list server threads, focusing on what's going on in the community… or at least one facet of what's going on in the community. This month's issue is focused heavily on security, so following a series of blog entries, I will join suit and do the same. This month's column is about securing applications or, rather, problems with securing applications. Macromedia recently released a TechNote written by S... (more)

Taking a Sun Java Studio Creator for a Drive

If you do not really enjoy the process of creation of Web applications with JavaServer Pages, try Sun Java Studio Creator (JSC), which at the time of this writing is available as an Early Access release. There are several general reviews of this product on the Internet, but I'll show you how in less than an hour you can create a Web application with a logon page that performs database user authentication, and displays the main application page for a valid user. If this does not impress you, I can add that I had to write not more than 20 lines of code for this application - the rest was drag and drop. First, download and install an Early Access release of JSC from . Installation process is simple, and the product comes with Sun Application Server and PointBase DBMS. Getting Familiar with IDE After installation is done, start ... (more)

Where Are the High-Level Design Open Source Tools for Java?

I have just finished reviewing the book Open Source Development Tools for Java, which provides excellent coverage of such topics as log4J, CVS, Ant, and JUnit. There is a chapter on UML tools though in which the author almost apologizes for the lack of good open source design tools. There is a plethora of projects on from J2EE runtime frameworks to IDE plugins, yet there is almost nothing that encroaches upward into the arena of analysis and design tools. One theory for this is that high-level design tools are the value-add that software vendors hold back from the open source community and sell in high-priced offerings. While this does occur to a certain extent, it can't be the real reason. Open source is a marketplace where useful things become free and commoditized, as witnessed by runtimes such as Tomcat and JBoss or tools such as Eclipse and Net... (more)

Rich Internet Applications - State of the Union

[This prescient article first appeared on nearly 12 months ago.] We are entering an era of Rich Internet Applications (RIA),  and many enterprise development managers are facing the dilemma - which way to go - remain with  tried and true Java or .Net technologies or less known yet AJAX, Flex, OpenLaszlo or a number of other vendors.  This article is an attempt to give a brief overview of what's out there on the RIA market. Historically there have been major shifts in the software industry. We moved from mainframes with dumb terminals to client/server. Users gained in convenience and productivity, and mainframe systems were patronizingly labeled as legacy. With the availability of the World Wide Web industry visionaries turned the tables: vendors and corporate IT had been eager to get rid of the complexity of client/server version management and technologist... (more)