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

  • Java

  • Implementing Java-based User Authentication with JAAS

    Rob Gravelle looks at some popular security framework offerings for the Java applications, explains the basics of JAAS, and goes through a couple of classes that perform a simple login process.

  • Fetch Hyperlinked Files using Jsoup

    In the Download Linked Resources using Jsoup tutorial, we learned how to select a specific hyperlink element based on a unique attribute value in order to download a linked MP3. In today's conclusion, Rob Gravelle covers how to extract the absolute URL from the first link in the Elements Collection and save the MP3 file on our local device.

  • Create High Quality Thumbnails using the imgscalr Library

    Just about any Web or mobile app that works with images needs to display thumbnails. To quickly resize or manipulate images using the most optimal methods, you should use a specialized library like imgscalr. Rob Gravelle shows how to use imgscalr to resize, crop, pad, and even rotate images.

  • Download Linked Resources using Jsoup

    In the Web Page Scraping with Jsoup article, Rob Gravelle described how to use the Jsoup Java library to iterate over a web page's links and print out their attributes. In today's follow-up, he explains how to select a specific hyperlink element based on some criteria in order to download a linked MP3.

  • 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