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


Latest Blogs from Java EE Journal
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 rele...
Then I’ve received an LinkedIn email from this woman stating that she had a business proposition for me, and if I was interested, she was ready to explain. She also provided her email that ended in outlook.com. I checked her LinkedIn profile again. Looked legit. She even had a Twitter ...
Yakov Fain is a co-founder of two software companies: Farata Systems and SuranceBay. He authored several technical books and lots of articles on software development. Yakov is Java Champion (https://java-champions.java.net). He leads leads Princeton Java Users Group. Two of Yakov's ...
Sematext is looking for a strong full-stack developers who: Find creative and elegant solutions, build tools, avoid repetition and boilerplate code Take ownership and push forward; want to help build the team and the organization Like working with data-intense applications, contin...
OpenXava is an Open Source Java Framework for Rapid Development of Enterprise Web Applications. In OpenXava you only have to write the domain classes in plain Java to get a web application ready for deploying in WebSphere or WebSphere Portal. This 5.2 release has a new way to customize...
On the server side we always use Java and have no plans to switch to any other technology. After spending many years developing the front end with Adobe Flex framework and ActionScript programming language we got spoiled by this super-productive environment. After the mankind led by Ap...
Finished writing the WebSocket chapter for the second edition of my Java 24 Hour Trainer. In this blog I’ll show you one of the code samples from lesson 28. Pretty often you need to write a program that publishes the same message to all connected clients. For example, multiple cl...
The next release candidate for 1.11.0 will be out very shortly, but I thought it best to post a brief update on the past week’s work as this week saw a concentrated effort on core optimization. First we took another look at the use of arguments lists throughout the framework and fou...
Yesterday I’ve been updating code examples for the messaging chapter for the 2nd edition of my Java book. While doing this, I ran into an issue, then fixed it, but the cause and the solution illustrate the situation that we call “Ear-Eye”, which comes from and old jok...
Some time ago I blogged that Java Swing should be deprecated and replaced with JavaFX. In this blog I’ll show a piece of JavaFX namely event handlers and binding. I’ve created a simple Sign In window with a GridPane layout (it’s JavaFX equivalent of Swing’s GridBagLayout). I’m not goin...
While working on the second edition for my Java 24-hour Trainer book I’m re-writing some of the code samples to use lambda expressions. Today I was re-writing an example for wait/notify for the chapter on multi-threading. Beside illustrating the wait/notify, I used a closure in this ex...
This article explains how to know which JVM System Properties are actually being queried by libraries. Many libraries use system properties for settings. For example, you usually have to set a property to enable debug traces or to activate certain behaviors. However, sometimes system ...
Let’s look at some best practices for using another powerful class: ThreadLocal from java.lang, which is also implemented using WeakReference. As its name suggests, a single instance of ThreadLocal can store different values for each thread independently. Therefore, the value stored i...
Learn how to set up Continuous Integration and Continuous Deployment for your node.js Application from GitHub to Heroku.
Ruby on Rails 4 features Russian Doll caching. Here, I apply Russian Doll caching to one of my poorer performing Rails 3 pages using the cache_digests gem. ActionView puts forth a great development pattern of views and partials that is easy to understand, implement and maintain but th...
Apache TomEE supported in Jelastic PaaS is a Java EE server, which provides you with the best technology stack that can be deployed to a simple Java EE container. It's lightweight and at the same time is a full-blown application server, which remains simple and avoids architecture over...
Developers need to be able to run tests quickly. In this blog post we talk about how to speed up your test suite boot time. The biggest bane of test driven development, or whatever variant you practice, is long boot times. Even when you just run one test a slow boot will make it a ted...
When dealing with Software Analysis and Measurement benchmarking, people’s behavior generally falls in one of the following two categories: “Let’s compare anything and draw conclusions without giving any thought about relevance and applicability” “There is always something that diffe...
Historically, the end user has not been a primary focus for IT operations. While this focus is starting to change, the user continues to be supported through the service desk and enabled through the management of the devices used. This level of support alone does not give the user the ...
Welcome to Java Certification Path. If you are reading this article, it means that you are thinking or have decided to take Java Certification. Let me start off by congratulating you on this decision to boost your career strength. To become a successful Java professional it is good to...
Tоday I was participating in a discussion on one Java forum – the question was if Java is easy or difficult programming language to learn. IMO, Java is not difficult to lear, to teach, and to use. It’s a strongly-typed compiled language with tools that help you out to identify most of ...
The Java Designer’s general principle to architecting high scale or low scale application is choosing between EJB Centric Design (with EJB) or Web Centric Design (without EJB). OCE EJB Certification covers all design/developer knowledge required to implement Enterprise Java Bean Compo...
Whew! That loud sigh of relief you hear reverberating from Silicon Valley is a reaction to the June 1st Oracle-Google ruling, which declared that APIs are not protected by copyright. While this case could be far from over – Oracle may appeal and force another $50 million round of litig...
Before I start talking about using Groovy's capabilities to create a DSL (mostly in Java), let's take a few minutes to go over what Groovy is. Groovy is a general purpose scripting language that runs on the JVM, and can largely be viewed as a superset of Java. Is this a Groovy progr...
One of my talented colleagues discovered an interesting ADF logic bomb which I thought I'd share here. The issue is with the instantiation order of ADF Faces scoped beans in JDev 11g when using Bounded Task Flows embedded as regions in another page. Regular readers would be familiar t...
As software applications grow, a common technique to reduce the complexity is to break the overall solution into separately built and deployed modules. This allows each component to be worked on independently without being overwhelmed with detail, though the cost of reassembling and bu...
There’s a rather obscure JDeveloper bug that only effects IE7, for af:columns in af:tables that show af:outputText fields based on dates that are null (phew, try and say that with a mouth full of wheaties). It occurs in 11.1.1.4.0 and 11.1.2.0.0 (and all versions in between it’s assume...
Within JDev 11g+ experienced ADF programmers will be familiar with PageFlowScope beans used by tasks flows, in particular Bounded Task Flows (BTFs) where they provide the equivalent of session scope for variables for the life of the BTF for a specific user session. Indeed the Oracle do...
From time to time in JSF and ADF Faces RC applications there’s the need from one managed bean to retrieve another, typically from a lesser scoped bean to a greater, such as a requestScope bean retrieving a sessionScope bean to access its methods. There’s essentially 3 avenues to solvin...
I always get excited when I see another person questioning the use of frameworks that ask you to either replace one language with another or write additional code as a life support to sustain the framework’s functioning. This time my kudos to Christin Gorman, who did a great job explai...
I've been working on setting up a new environment for SAP IDM 7.1 SP5 (yes I know 6 is available). This installation is notable for me since I am configuring it around. So it's my first pure 64 Bit system. I'm pretty excited. So I got the OS installed no problem. Got SQL installed....
Tiggr is a Web-based IDE for building mobile Web and native apps. Today I’d like to give you 15 reasons why this new-of-a-kind IDE deserves your attention. 1. Mobile Apps IDE in the Cloud – Access Your App Anytime, Anywhere Tiggr is a mobile apps IDE in the cloud. There is nothing to...
There are very few pieces of software where a casual approach can be taken to the process of software development. Software development is intrinsically a difficult process, gathering requirements, design, development and testing all taking large effort. In reaction enterprises have se...
This was an interesting bug… I was working on a Web application, where Adobe Flex client was sending an instance of an ActionScript WrapperObject to the Java server, which was supposed to invoke some JBDC code to run an SQL Insert statement saving the data from the Java version of Wrap...
The previous blog post in this series looked at the default behaviour of the ADF framework in 11.1.1.4.0 of the af:region tag embedded in a af:showDetailItem tag. In this post we'll look at programmatically controlling the activation of regions to stop unnecessary processing. This exa...
ADF's af:showDetailItem tag is used as a child to parent tags such as the af:panelAccordion and af:panelTabbed. JDeveloper's online documentation states the following about the af:showDetailItem tag: The showDetailItem component is used inside of a panelAccordion or panelTabbed compon...
The previous blog posts in this series (part 1 and part 2) looked at the behaviour of the af:region tag embedded in a af:showDetailItem tag with JDeveloper 11.1.1.4.0. This post investigates the changing nature of the "deferred" activation property for the underlying af:region task flo...
Christophe Herreman, a Java developer from Belgium, made the following tweet today: “At the supermarket, and I once again seem to have picked the wrong lane... I wonder if there is a strategy for this.” Being a member of the Java community myself, I feel obligated to offer my approac...
Highlighting an input field that failed validation (or conversation) is a common UI practice today. This sort of functionality is not available in JSF (nor RichFaces) out of the box (Seam does have it). I got an email from RichFaces 4 workshop attendee from CONFESS_2011 conference aski...
Passing a technical job interview is a challenge to most of the Java developers. Some people simply fail because they are not well prepared and questions like “What’s the difference between abstract classes interfaces?” puts them into a comatose state. In such cases Mr. President won...