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)

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 Heap Space vs. Stack Memory | @CloudExpo #JVM #JRE #Java #AI #DX

Java Heap Space vs. Stack Memory: How Java Applications Allocate Memory By Angela Stringfellow Java applications need a certain amount of RAM on a computer to run. Each time an object or variable is declared, it needs more RAM. Simply designating enough memory to hold every value declared and run each method would lead to a bloated application. To keep application memory requirements lean, it is partitioned in ways that require less memory and allows the application to run more quickly. The Java Virtual Machine (JVM) divides memory between Java Heap Space and Java Stack Memory in a way that only uses memory that's needed. What Is Java Heap Space It is created by the Java Virtual Machine when it starts. The memory is used as long as the application is running. Java runtime uses it to allocate memory to objects and Java Runtime Environment (JRE) classes. When an object i... (more)

Scott McNealy To Testify for Oracle in Java Trial

Former Sun CEO Scott McNealy, an off-again-on-again buddy of Oracle CEO Larry Ellison, is going to testify for Oracle Thursday in its infringement suit against Google and Android. His appearance could wrap up Oracle’s side of the copyright infringement part of the trial and he could be followed on the witness stand by his successor at Sun Jonathan Schwartz who’s supposed to testify for Google. Schwartz has been on the witness list since the beginning. He’s evidently supposed to testify Sun didn’t think Android infringed, evidently conflicting with McNealy’s testimony. (It’s just so utterly Sun.) Sun, of course, developed Java before Oracle bought Sun two years ago. A swat of the old Java engineers now work for Google and some of them helped develop Android. Some of them have been on the witness stand. Google chairman Eric Schmidt, who also used to work at Sun under Mc... (more)

X-oops, I did it again

(LinuxWorld) — One of my non-profit Web sites, VarLinux.org, ran on my modified version of the PHP-Nuke weblog package from the site's inception in March 2001 until late November 2002. I chose PHP-Nuke as a starting point because I was very impressed with it. However, the more I learned how to use PHP, the more I realized that PHP-Nuke was not only a tangled mess but that I had made it even worse with my modifications. A year later, I was faced with the fact that VarLinux.org was not only lame because it was based on PHP-Nuke, it was also showing its age. It lacked features of other weblogs, and still lacked many of the features I had intended to add to the site. If I were going to fix the code, the first thing I would do would be to make it an object-oriented system. I toyed with the idea of converting my code into OOP-based code, but I concluded that if the P... (more)

An Introduction to Abbot

Graphical user interface (GUI) testing is a potentially problematic area because constructing effective test cases is more difficult than the corresponding application logic. The roadblocks to effective functional GUI testing are: Traditional test coverage criteria like "80% coverage of the lines of code" may not be sufficient to trap all the user interaction scenarios. End users often use a different user task interaction model than the one conceived by the development team. Functional GUI testing needs to deal with GUI events as well as the effects of the underlying application logic that results in changes to the data and presentation. The common methods for functional GUI testing are the "record and execute" script technique and writing test programs for different scenarios. In the "record and execute," the test designer interacts with the GUI and all the eve... (more)

Secrets Of The Masters: Core Java Job Interview Questions

JDJ's Enterprise Editor, Yakov Fain (pictured) writes: If you are planning to hit the job market,  you may need to refresh some of the Java basic terms and techniques to prepare yourself for a technical interview. Let me offer you some of the core Java questions that you might expect during the interviews.  For  most questions  I’ve provided only  short  answers to encourage further research.  I have included only  questions for mid (*) and senior level (**) Java developers. These sample questions could also become handy for people who need to interview Java developers (see also the article "Interviewing Enterprise Java Developers"). Disclaimer. This article has been originally published three or four years ago, hundreds of thousands Java developers have read it, but I still use some of these questions while interviewing Java developers. Guess what? Every other Jav... (more)

Flex and LiveCycle - Platform for Enterprise Success

When I joined Macromedia/Adobe Consulting, my role as Practice Leader was to grow a practice in EMEA around Rich Internet Application technologies. In recent months, we have taken the decision to bring together the Rich Internet Application practice with our LiveCycle practice, reflecting the recurrence in opportunity for us to fuse these client and server technologies together to solve a number of enterprise business problems. As I assume the responsibility to grow this combined practice in EMEA, I'll extend my blogging to share some of the excitement and thinking we have around how the technologies from our Enterprise Developer Business Unit - including Flex, Flex Data Services and the numerous LiveCycle technologies - converge as an enterprise business platform. I'd like for this blog post to initiate some thinking on what this might mean. I expect that people ... (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)

Factory Design Pattern - An Effective Approach

As you know the Factory Method Pattern or popularly known as the Factory Design Pattern is one the design patterns under the category of "Creational Design Pattern". The basic principle behind the pattern is that at runtime we get an object of similar type based on the parameter we pass. There are many articles on this pattern and developers implement in various ways to achieve it. In this article I will show you how to create a better and most effective way of designing factory design pattern. Technicalities As I have told you we will get a similar type object at run-time in the case of a factory design so that the underlying implementation of an object will be behind the screen. Let us consider a simple approach. Let's consider a Person object that can be either Male or Female. At runtime we should only consider the behavior of the person but not the gender. As the... (more)