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
-
Tutorial
23 Jan 2025
JavaScript, React and object-oriented programming
This tutorial ties together JavaScript, React and object-oriented programming to show developers how to use the React framework's powerful and flexible features and functions. Continue Reading
By- Bob Reselman, CogArtTech
-
Video
17 Jan 2025
Install Maven on Windows
Want to get started with Maven? This step-by-step guide shows you how to install Apache Maven and build your first Java application. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
10 Feb 2012
Installing the Java Development Kit (JDK) and setting JAVA_HOME
The first choice in application servers for many Java developers is the open source Apache Tomcat. Learn how to download and install the Apache Tomcat 6 servlet engine. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
26 Jan 2012
Java 7 and the intricacies of safe and unsafe casting
One of the problems with casting is that it does have the potential to cause a loss of precision, especially if the number that gets cast does indeed fall outside of the range of the target type. Here we will explain why this happens. Continue Reading
By- Cameron McKenzie and Sal Pece
-
Tutorial
12 Jan 2012
New Java 7 Features: How to Use a More Precise Rethrow in Exceptions from Project Coin
Afficionados of other languages such as Scala or Clojure are always slagging the fact that Java is too verbose and cumbersome. So, it's not too surprising to find out that Java 7 introduced a number of new facilities that can help to trim down the code an application developer is required to write. Continue Reading
By- Sal Pece
-
Tutorial
15 Dec 2011
New Java 7 Features: Binary Notation and Literal Variable Initialization
Now with Java 7, you can not only use standard decimal notation, or the beloved hex notation, but you can use binary notation as well. Here's a good look at the ins and outs of binary notation, with a focus on what you'll need to know in order to pass the Java Professional certification exam from Oracle. Continue Reading
By- Sal Pece
-
Feature
07 Nov 2011
Adding MVEL to the Java Developers Toolkit
By now you should be thoroughly convinced that as a Java developer you cannot afford to leave MVEL out of your toolbox, and that it fills a unique gap between complete programming environments like Groovy and Scala and expression languages like OGNL and JUEL. Continue Reading
By- Mark Proctor and Mike Brock
-
Tip
24 Jun 2011
Choosing the best Agile methodology for your development needs
To be Agile is to be active and involved. But how do we achieve these goals? Let’s look at some of the popular tools of the Agile trade. Continue Reading
By- Andrew Townsend
-
Tip
11 May 2011
How to successfully deploy BPM
BPM offers tremendous potential to organizations seeking to improve efficiency and ROI, but it takes a thoughtful approach. This article outlines some BPM best practices. Continue Reading
By- Miguel Valdés-Faura
-
Feature
28 Mar 2011
What to look for in an application server
What are the key parts of an application server that your application needs? Here's a quick overview. Continue Reading
-
Feature
28 Mar 2011
What is an Application Server?
Historically, the Java professional has thought of the application server as a system that can support the deployment and runtime of Servlet and EJB applications. But that definition is changing. Continue Reading
By- Andrew Townsend
-
Tip
15 Mar 2011
Dependency Injection in Java EE 6 (Part 6)
In this last article of the series, we will cover portable extensions, available implementations as well as CDI alignment with Seam, Spring and Guice. Continue Reading
By- Reza Rahman and Scott Ferguson
-
News
28 Sep 2010
James Gosling Interview from Basementcoders.com
In this Basement Coders podcast, Jeff Genender interviews James Gosling live from San Francisco when JavaOne was taking place. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
29 Jul 2010
Dependency Injection in Java EE 6 - Part 5
This series of articles introduces Contexts and Dependency Injection for Java EE (CDI), a key part of the Java EE 6 platform. In this article we will discuss CDI’s interaction with JSF in detail. Continue Reading
By- Reza Rahman
-
News
08 Mar 2010
Part 3 of dependency injection in Java EE 6
In this article we will discuss interceptors, decorators, stereotypes and events. In the course of the series, we will cover conversations, CDI interaction with JSF, portable extensions, available implementations as well as CDI alignment with Seam, Spring and Guice. Continue Reading
-
News
03 Nov 2009
Dependency Injection in Java EE 6 - Part 1
Contexts and Dependency Injection for Java EE (CDI), a key part of the soon to be finalized Java EE 6 platform. Standardized via JSR 299, CDI is the de-facto API for comprehensive next-generation type-safe dependency injection for Java EE. Continue Reading
By- Reza Rahman
-
News
01 Apr 2009
EJB 3.1 - A Significant Step Towards Maturity
Enterprise Java Beans (EJB) is a server-side component architecture for the Java Enterprise Edition (Java EE) platform, aiming to enable rapid and simplified development for distributed, transactional, secure and portable applications. Continue Reading
By- Paulo Moreira
-
News
01 Mar 2009
Intergrating BIRT with PHP
BIRT is a top-level, open-source, Eclipse project that provides business intelligence and reporting tools. Currently, BIRT is best known as a report-creation tool that supports multiple data sources and produces many different forms of output, including HTML, paginated HTML, PDF, Word, Excel, PPT, and postscript formats. Continue Reading
By- Jason Weathersby
-
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
By- Reza Rahman
-
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
By- Richard Monson-Haefel
-
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
By- Wang Yu
-
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
By- Eugene Ciurana
-
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
By- Reza Rahman
-
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
By- Dennis Byrne
-
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
By- Reza Rahman
-
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
By- Ted Neward
-
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
By- Jonas Boner
-
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
By- Debu Panda
-
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
By- Wang Yu
-
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
By- John Birtley
-
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
By- Amit Kumar
-
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
By- Gavin King
-
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
By- Adrian Colyer
-
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
By- Debu Panda
-
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
By- Srikanith Shenoy
-
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
By- Richard Monson-Haefel
-
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
By- Brett Peterson
-
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
By- David Sims
-
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
By- TSS.com