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.

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.

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.

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.

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.

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.

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.

Web Development Newsletter Signup

Advertiser Disclosure:
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.

Thanks for your registration, follow us on our social networks to keep up-to-date