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

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)

Revisiting Java SE 7 Features | @CloudExpo #Java #Cloud #OpenSource

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)

X-oops, I did it again

(LinuxWorld) — One of my non-profit Web sites,, 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 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)

JDJ Archives: Eclipse vs NetBeans - "Point/Counterpoint" Special

This article was originally published in print on December 3, 2003"Eclipse represents the worst of Java" Lately, there's been a lot of guff spouted about how Sun isn't joining Eclipse. While I understand the bitterness aimed at Sun somewhat, I think that this particular brand of talk is counterproductive and, dare I say it, wrong. The talk tends to center around the concept of NetBeans and Eclipse using common technology, and I think this is misguided, and here's why. I really dislike Netbeans. I think it blows goats from here to Sussex, and considering that I live in the middle of the US, that's a lot of goats. Given the choice between NetBeans and... Notepad, I usually spend a minute pondering whether I can keep remembering to check extensions on filenames before realizing that I can, and I end up with sucky ol' Notepad instead of bothering with NetBeans. That sai... (more)

WebSphere Datapower FTP Polling Functionality Use Cases

The Datapower appliances support the use of the FTP protocols for message transport. The purpose of this article is to present number of common use case scenarios for FTP polling, illustrating correct configurations of the device to support the use case. The use case scenarios are as follows: 1- FTP Poller - polling files in one directory and transfer them to another directory 2- FTP Poller – polling files from FTP SERVER and forward them to another service 3- FTP Poller (sFTP – FTP over SSL) - polling files from FTP SERVER and forward them to another service 4- FTP Poller (sFTP – FTP over SSH) - polling files from FTP SERVER and forward them to another service   1- FTP Poller (Simple) In this scenario, the Datapower device performs the following tasks: a- Polling files in one directory (/get) and transferred to another directory (/put) with the same file name on... (more)

"Java Is Dead, Long Live Java!" – The Future of Java

It seems that lately lots of writers have been bashing Java. Some people seem to think that Java has stagnated, and that the "hyper-enthusiasts" have left. Well, the rest of us are just quietly coding on a platform that is more exciting than ever. Other technologies like Ruby, PHP, .NET, or AJAX might get more hype and acclaim lately, but hype aside, Java still produces the majority of innovation in the software profession. You can get a sense of Java's health by simply looking at how many projects are out there using Java. Pop on over to Sourceforge and look at the number of projects by language: Certainly Sourceforge is not the final measure, but it's a reasonable reality check. Anyway, you'll find 17300+ Java projects, the most of any language. That's more than PHP (12675), Ruby (425), and .NET (3094... (more)

Get a Boost of Flex this Monday in New York City

Yakov Fain's Blog If you are an active and serious software developer, you have to make sure that your technical skills are not getting rusty. You need to get trained. In our trade the rule of the game is that you constantly have to be in a good technical shape. Your other choice is to keep complaining about outsourcing. Excuses like we are in a crunch situation with our project at the moment, and this is not a good time for studying are good for amateurs. Can you afford to take just one day off, get out of your cubicle and see what other people up to these days? Is J2EE still in favor? What’s this ESB is about? Have you even heard of using Flex as a Web front end of your Java applications? Do not miss an event in NYC this Monday, that is created for people who think that they are way too busy to take several days off and spend them in the class. Just take one d... (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)

PowerBuilder 11's .NET Interoperability

PowerBuilder 11 deploys entire applications as .NET Windows Form or Web Form applications and deploys individual components as .NET Assemblies and as .NET Web Services. Version 11 consumes resources of the default .NET framework as well as resources of custom developer-defined .NET resources. Non-PowerBuilder .NET solutions can interoperate with, and take advantage of, the unparalleled productivity of PowerBuilder’s data access and data manipulation capabilities. In short, PowerBuilder 11 creates as well as consumes .NET resources. Once PowerBuilder 11 has deployed an application or a component as .NET, the developer can begin taking advantage of external .NET resources on a scripted basis through PowerScript enhancements. The scripted .NET interoperability in PowerBuilder 11 is predicated on a new conditional compilation feature. Conditional compilation allow... (more)

Making the Impossible Easy: Failover for Any Application

JDBC at Cloud Expo If your systems require constant accessibility, you know that application failover is an essential function for automatically and transparently redirecting requests to an alternate server in the case of a failure or downtime. Several options exist for ensuring high availability for your mission-critical applications. Those options may be hardware- or software-based, and may also vary considerably in terms of project or enterprise scope and in terms of cost and complexity. Chances are you're relying on one or more such options. But are you aware that the database driver software you use can make application failover much easier and cost-effective to implement, configure, and manage application failover? High availability solutions are typically complicated and expensive to code. With an application relying on an Oracle data source platform, for exa... (more)

Java EE PaaS and Application Server Interoperability

Java EE PaaS Growth & Interoperability Concerns As observed in my earlier articles, the Java EE PaaS portfolio is gaining in strength each day, with support from major players such as IBM, Oracle, VMWare, Redhat , Google and Amazon. However unlike the Microsoft > .NET Framework > Azure PaaS equation where there is just one version of the framework from one vendor, the openness of Java EE led to several implementations of application server-specific implementations. As Java EE standards define a core set of API, frame works and features as part of its implementation, an application server is the container that executes these instructions and provides a development and runtime platform for Java EE applications. While application servers are expected to implement the Java EE specifications & technologies like (SERVLETS, JAVA SERVER FACES, ENTERPRISE JAVA BEANS, PERSI... (more)