Installing Oracle Java SE 11 on Ubuntu 18.04
Tip

Installing Oracle Java SE 11 on Ubuntu 18.04

A quick installation guide for Ubuntu Linux users installing Java 11

01/21/2020

When to use composition vs inheritance
Tip

When to use composition vs inheritance

Inheritance is a valuable programming technique, but in some conditions it breaks encapsulation. Find out why composition is the vital alternative to inheritance, and learn when and how to use it in your Java programs.

05/16/2019

Composite keys in JPA and Hibernate
Tip

Composite keys in JPA and Hibernate

Use embeddable objects to join two primary keys into one composite key

04/25/2019

Inheritance relationships in JPA and Hibernate
Tip

Inheritance relationships in JPA and Hibernate

Learn four ways to manage inheritance relationships and support polymorphic querying in Java ORM

04/25/2019

Hibernate validation in a standalone implementation

Get started with declarative annotations, composite validation rules, and selective validation in Hibernate Validator 5.0.3.

04/01/2014

Consuming SharePoint web services with a Java client

Many companies use SharePoint to store and share documents, but relatively few know how to access SharePoint web services from a Java client. Learn how to use CAML calls for CRUD operations in SharePoint's Copy and Lists web services....

10/31/2013

Java Tip: Write an SOA integration layer with Apache Camel

Use Apache Camel's Multicast and Aggregator pattern implementations to develop a quick-and-easy integration layer for a service-oriented architecture.

09/25/2013

Tip

Log4j orthogonality by example

Orthogonality is a concept for designing modular and maintainable software. In this tip you'll see how it's implemented, and violated, in Log4j

05/01/2013

Java tip: Deploying JavaFX apps to multiple environments

JavaFX 2.0.2 and successor SDKs let you deploy JavaFX applications in multiple environments including as a standalone app, via Java Web Start, or embedded in a web page. Jeff Friesen follows up his recent introduction to JavaFX 2.0...

05/29/2012

Java Tip: When to use ForkJoinPool vs ExecutorService

This Java Tip demonstrates the performance impact of replacing the Java 6 ExecutorService class with Java 7's ForkJoinPool.

10/04/2011

Java Tip 143: Utilize the Database Schema Browser

The Database Schema Browser utility eases the task of database lookup by providing users with a consolidated list of tables and their definitions with one simple hit to the servlet. What's more, you can use the browser's print options...

10/31/2003

Java Tip 142: Pushing JButtonGroup

Swing's ButtonGroup class allows radio button grouping to ensure single selection; however, the implementation raises many question marks. You cannot retrieve a reference to the currently selected button in the group, and the class...

09/19/2003

Java Tip 141: Fast math with JNI

Java 2 Platform, Standard Edition (J2SE) 1.4x uses a new StrictMath package to perform mathematical calculations, but many of these math routines are much slower than the corresponding routines in J2SE 1.3. Luckily, Java...

08/15/2003

Java Tip 140: Automatically generate JavaBeans from XSL files in J2EE applications

One way to write Java 2 Platform, Enterprise Edition (J2EE) applications that produce dynamic content is to use servlets, JavaBeans, XML, HTML, and XSLT (Extensible Stylesheet Language Transformations). In this tip, Klaus Berg looks...

07/11/2003

Java Tip 139: Ask the right questions in your survey application

Businesses often use surveys for market research, user feedback, and various evaluation methods. Increasingly, surveys are being placed online, and good software is needed to make them more efficient and cost effective. Some surveys...

06/27/2003

Java Tip 138: Still parsing to generate your JavaBeans' XML representation?

Empower your JavaBeans to handle data conversion to and from their XML document format without complicating the code. This tip shows you how to write and use a component to convert a JavaBean to its XML document representation and...

05/09/2003

Java Tip 137: Manage distributed JTables

When displaying tables with tens of thousands of rows (or more), it is imperative they quickly respond and display. One way to achieve this is by using a specialized TableModel that retrieves data from a server only when it is...

04/18/2003

Java Tip 136: Protect Web application control flow

Struts, from the Apache Jakarta Project, implements the Synchronizer Token pattern to prevent duplicate form submission. Applying this pattern, you can detect this situation and follow an alternate course of action when it happens....

03/14/2003

Java Tip 135: Layer and compare property files

Are you still using one big property file? Using multiple property files instead can also be unwieldy, unless you have the right tools. You can layer property files easily when you use the PropDiff utility. Layered property files are...

02/28/2003

Java Tip 134: When catching exceptions, don't cast your net too wide

In contrast to some other languages, Java's simplicity and consistency allow compilers to detect many more errors. Java developers learn to rely on their compilers to catch assignments to incorrect types, calls of nonexistent methods...

02/14/2003

Load More