These are touchy, but when they work they really brighten up your page!

  • Java

  • Persist Data from a Servlet using an Injected Data Access Object

    Today, Rob will demonstrate how to inject a Data Access Object (DAO) as a managed EJB to persist data submitted from a JSP page, in this follow-up to his Create a Java Enterprise Application Controller in Eclipse article.

  • Defining JPA Persistence Units in your Java Enterprise Applications

    In the Java Persistence API (JPA), Persistence Units are declared in the persistence.xml file. Rob Gravelle describes how to create a persistence.xml file and a DAO class to handle database transactions in a Java EE application.

  • Connect to a Database from your Java Enterprise Applications

    In this article, Rob Gravelle takes a look at a great storage option for starting out with Java EE projects, that provider is ObjectDB. Rob details how its a great storage option for starting out with Java EE projects because of it's pure Java Object Database and helps you to build a quick JUnit test and validate its function.

  • Persistence in Java EE Applications

    A major enhancement in EJB 3.0 is the addition of the new Java Persistence API (JPA), which simplifies entity persistence and adds new capabilities to EJB 2.1. The Java Persistence API deals with the way relational data is mapped to Java objects called "persistent entities", as well as the way that these objects are stored so as to make them available across multiple application sessions. In this Article, Rob Gravelle demonstrates how to create an Entity class that conforms to the JPA.

  • Create a Java EE Web Application using the Glassfish Server

    Not long after Java first released Java Beans, the Spring Framework was introduced. Now, Oracle, the makers of Java, have fought back with the EJB 3.1 spec. Rob Gravelle demonstrates how to create a Java EE application project and configure a Glassfish server in the Eclipse IDE.

  • Add a Class Template Using an Eclipse Plug-in

    Rob Gravelle shows how to develop a simple Eclipse plugin that extends the New menu to let you open a basic skeleton of a customized class in the editor.

  • A Guide to Eclipse Templates

    Eclipse Templates are stored blocks of code or text that can be accessed quickly via a key combination. They can save you a lot of time when coding by eliminating the need to type the same lines of code over and over again. Rob Gravelle shows how to use Eclipse's predefined templates as well as how to create your own.

  • Using the Java Arrays Binary Search Methods

    The Arrays class is part of the Java 2 Collections Framework and contains numerous static methods for representing and manipulating arrays, allowing them to be manipulated independently of the details of their representation. Today's article presents the binarySearch() method; it employs the Binary (or half-interval) search algorithm to find the index of an element within a sorted array.

  • Java Applet Tutorials

    So, You Want Text Commands, Huh?

  • So, You Want A Chat Room, Huh?

    Real-time chat with people all over the world -- right from your own site. Enough said.

  • So, You Want A Java Applet, Huh?

    If you know nothing about applets, go here first! Get an applet that posts the name of your viewer.

  • So, You Want A Pop-Up Link Box, Huh?

    This form item pops up when you click on it. It provides links to other pages and helps your viewers move around your site!

  • So, You Want Advanced Applets, Huh?

    This involves seven different elements and some advanced concepts, but when you get it to work, you'll know you can do anything!

  • Web Development Newsletter Signup

    Invalid email
    You have successfuly registered to our newsletter.
Thanks for your registration, follow us on our social networks to keep up-to-date