Core Java APIs and programming techniques
Technologies related to Java APIs (application programming interfaces) and JDK (Java Development Kit) form the cornerstone of modern, enterprise-grade software development. Here we explore all the Java features that make the JVM great through programming tutorials, real-world code samples and expert opinions from Java champions.
Top Stories
-
Answer
16 Nov 2023
10 disadvantages of microservices you'll need to overcome
Not everyone is keen to adopt a cloud-native architecture, for good reasons. These common drawbacks to microservices might convince you to stick with your traditional architecture. Continue Reading
-
Tip
19 Oct 2023
Understanding protocol buffers vs. JSON
Protocol buffers have some compelling advantages over JSON when it comes to sending data between internal services. But is it really a replacement for JSON? Continue Reading
-
News
01 Feb 2009
Java EE 6 Overview
The details of Java EE 6 have been getting hashed out for quite a few months in the JSR 316 expert group, which I am part of. The goal of this article is to give you an overview of the changes in Java EE 6 as well as encourage your feedback. Besides the work of the JSR 316 expert group itself, I'll also discuss the JSRs that are likely to comprise this release of the platform. Continue Reading
-
News
01 Oct 2008
EJB 2.1: The Timer Service: Monson-Haefel's Guide to Enterprise JavaBeans
This fourth installment of Monson-Haefel's Guide to Enterprise JavaBeans describes the EJB Timer Service API, its use with entity, stateless session, and message-driven beans, and provides some criticism and suggested improvements of the Timer Service. Continue Reading
-
News
01 Jul 2008
Scaling Your Java EE Applications -- Part 2
Java applications can be scaled vertically (on a single system), or horizontally (across multiple systems). But to do either, you have to understand all parts of the system and software. Not doing so could defeat the purpose of adding system resources or more systems. Wang Yu presents some surprising results of Java application scalability based on his experiences in a performance laboratory. The second installment of this series discusses scaling horizontally. Continue Reading
-
News
01 May 2008
MapReduce Part II
MapReduce is a distributed programming model intended for parallel processing of massive amounts of data. This article describes a MapReduce implementation built with off-the-shelf, open-source software components. It shows you how to write resource-oriented applications for the Mule integration platform as a side effect of its implementation. Continue Reading
-
News
01 Apr 2008
Part Three: New Features in EJB 3.1
This series of articles previews changes in EJB 3.1. EJB 3.0 brought simplicity to Java EE 5 by moving away from a heavyweight programming model. EJB 3.1 aims to build on those successes by moving further down the path of simplicity as well as adding much-needed features. This article covers asynchronous Session Bean invocation and EJB Lite. Continue Reading
-
News
01 Jan 2008
Integrating Java and Erlang
This article is an introductory tour of Erlang by building a simple client server application. Following this we'll reverse engineer the application in pure Java using Jinterface, an open source Java library distributed with Ericsson's Open Telecom Platform. Then we'll wrap things up with a few words about hybrid systems development. Download and install Erlang and Java if you wish to try this at home. Continue Reading
-
News
01 Jan 2008
New Features in EJB 3.1
This series of articles is a preview of the changes the EJB 3.1 expert group is working on for the next version of the Java EE specification. EJB 3.1 aims to build on those successes by moving further down the path of simplicity as well as adding a handful of much-needed features. Continue Reading
-
News
01 May 2007
The Working Developer's Guide to Java Bytecode
In this article, we're going to examine the JVM bytecode set, disassemble some code to see how it works, and play with some tools that allow us to manipulate bytecode directly. Continue Reading
-
News
01 May 2006
Distributed Computing Made Easy
In case you haven't noticed, distributed computing is hard. The problem is that it is becoming increasingly important in the world of enterprise application development. Continue Reading
-
News
01 Feb 2006
Migrating JDBC Data Access Objects to use EJB3
In this article, we'll discuss what you need to do to migrate your DAO-based application to the EJB3 Java Persistence API. Continue Reading
-
News
01 Aug 2005
Under the Hood of J2EE Clustering
More and more mission-critical and large scale applications are now running on Java 2, Enterprise Edition (J2EE). Those mission-critical applications such as banking and billing ask for more high availability (HA), while those large scale systems such as Google and Yahoo ask for more scalability. Continue Reading
-
News
01 Mar 2005
Best Practices for Risk-Free Deployment
The cost impact to a company of a failed project can be severe indeed. This document introduces the 3D™ methodology – a set of best practices and quality tools developed by BuildMonkey, which can be summarised as. Continue Reading
-
News
01 Mar 2005
Velocity: A Template Engine OR A Rule Engine OR Both?
Most developers are familiar with Velocity as a great open source template engine and I don’t think I need to say much about its uses and features as a template engine. This paper compiles its features as a rule engine. Continue Reading
-
News
12 Dec 2004
Internationalized Data in Hibernate
We've seen a few people using internationalized reference data where labels displayed in the user interface depend upon the user's language. It's not immediately obvious how to deal with this in Hibernate, and I've been meaning to write up my preferred solution for a while now. Continue Reading
-
News
24 Jun 2004
Implementing Caching with AspectJ
Often in talks we give examples of common aspects, such as caching, pooling, auditing, security, persistence, and so on. Learn how to implement them using AspectJ. Continue Reading
-
News
06 Apr 2004
Using the Quartz Enterprise Scheduler in J2EE
Quartz is an open source enterprise job scheduler. Learn the ins and outs of Quartz in the J2EE. Continue Reading
-
News
01 Nov 2003
Maven Magic
Maven is a high-level, intelligent project management, build and deployment tool from the Apache project. There is nothing that Maven does that Ant cannot do. At the end of this article you will be able to build J2EE project artifacts using Maven. Continue Reading
-
News
01 Aug 2002
EJB 2.1 Web Services (Part 1)
The driving force behind EJB 2.1 is the need for Enterprise JavaBeans technology to support Web services -- a need that in turn is driven by Microsoft's release of its mammoth .NET platform, which is a significant threat to J2EE, and to Java technology in general. Continue Reading
-
News
01 May 2002
Understanding J2EE Application Server ClassLoading Architectures
The packaging mechanisms defined in Chapter 8 of the J2EE 1.3 specification provide a framework for pulling together all the pieces of a J2EE application. However, application server vendors are free to design a proprietary class loading hierarchy for obtaining the classes and resources found in an application. A class loading hierarchy is typically used to enable features such as hot redeployment and application independence. Continue Reading
-
News
01 Jan 2000
Job Scheduling in J2EE Applications
Scheduling tasks in J2EE applications is a common need. File transfer applications need to transmit and receives files on a regular basis, except on holidays. Administrative applications need to send reminder emails to notify employees and customers about important events. Continue Reading
-
News
01 Jan 2000
Professional Java Server Programming J2EE 1.3 Edition
The release of the 1.3 version of the Java 2 Platform, Enterprise Edition (J2EE) represents the evolution of Sun Microsystems' server-side development platform into a more mature and sophisticated specification. Continue Reading