April 2008
Bind JavaBeans to RDF with Jenabean
The Resource Description Framework (RDF) is the World Wide Web Consortium (W3C) proposed standard for linking and expressing data on the Web. Java developers who develop applications for the Semantic Web will need to convert RDF properties to or from Java types. Jenabean uses the Jena Semantic Web framework's flexible RDF/OWL API to persist JavaBeans, making the task of writing these applications easier and more familiar to Java developers.
Hands-off load testing with Apache
Load testing is often relegated to late-cycle activities, but it doesn't need to be that way. In this installment of Automation for the people, automation expert Paul Duvall describes how you can discover and fix problems throughout the development cycle by creating a scheduled integration build that runs JMeter tests.
Strategies and best practices for modern ORM tools
Although many developers use object-relational mapping (ORM) tools for their applications' persistence tier, some are confused about how to use them and duplicate code unnecessarily. This article covers the basics of a consistent, concise domain model and persistence tier.
Protecting JavaBeans in JSF applications
Learn how to use Acegi to secure access to JavaBeans in JavaServer Faces (JSF) applications. You can configure secure beans in a variety of ways, including using Acegi-secured inversion-of-control (IOC) beans directly in your JSF tags.
Get an introduction to RichFaces
RichFaces is one of a new breed of user interface component suites available for Java Server Faces (JSF). Add some new tools to your kit including general setup for using RichFaces with Facelets, and several specific component examples.
Let’s bind those Java objects to SQL databases
You've already seen how flexible Castor is in allowing you to convert Java objects to XML and back. But Castor does a lot more, including letting you take those same Java objects and turn them into rows within your SQL database. Learn what syntax is the same, what's different, and how you can add SQL to your data binding arsenal.
Protecting JavaBeans in JSF applications
Get a demonstration on how to use Acegi to secure access to JavaBeans in JavaServer Faces (JSF) applications. You can configure secure beans in a variety of ways, including using Acegi-secured inversion-of-control (IOC) beans directly in your JSF tags.
Implement business logic with the Drools rules engine
This updated article shows you how to use the open source Drools rules engine to make a Java application more adaptive to changes. The Drools project has introduced a new native rule expression language and an Eclipse plug-in, making Drools easier to use than ever before.
Make life easier with Continuous Integration by learning what not to do
While Continuous Integration (CI) can be extremely effective at reducing risks on a project, it requires a greater emphasis on your day-to-day coding activities. In this second installment of a two-part article on CI anti-patterns, learn how to lay out CI anti-patterns, and more importantly, demonstrates how to avoid them.
March 2008
Don’t get thrown for a loop! Get inside Scala.
Scala was written specifically for the Java platform, so its syntax is designed to make Java coders feel at ease. Get introduced to the subtle differences between the two languages, starting with control constructs such as if, while, and for.
Fluently Groovy with Java
This tutorial is for Java developers unfamiliar with Groovy, who want a quick and easy introduction to the basics. Get started with Groovy's simplified variation of the Java syntax and learn about essential features like native collections, built-in regular expressions, and closures.
Master Grails: Changing the view with Groovy Server Pages
Groovy Server Pages (GSP) puts the Web in the Grails Web framework. Learn the ins and outs of working with GSP. See how easy it is to use Grails TagLibs, mix together partial fragments of GSPs, and customize the default templates for the automatically generated (scaffolded) views.
Dynamic programming and sequence alignment
Molecular biology is increasingly dependent on computer science algorithms as research tools. This article introduces you to bioinformatics — the use of computers to solve biological problems. Learn the basics of dynamic programming, an advanced algorithmic technique you may find useful in many of your programming projects.
Stick a fork in it: Java ParallelArray
In this article, discover the ParallelArray classes, which simplify parallel sorting and searching operations on in-memory data structures in Java 7. Be sure to check out the first part of the series for further instruction.
February 2008
Understand Scala’s class syntax and semantics
In this second installment of The busy Java developer's guide to Scala series, learn a basic premise of language measurement: that the power of a language can be measured in direct relation to its ability to integrate new facilities -- in this case, support for complex numbers. Along the way you'll see some interesting tidbits related to class definitions and usage in Scala.
Protecting JSF applications with Acegi
This article first explains the features Acegi provides for this purpose and dispels some common misconceptions about using Acegi with JSF, then presents a simple web.xml file that you can use to deploy Acegi to secure a JSF application.
Mastering Grails: GORM: Funny name, serious technology
Any good Web framework needs a solid persistence strategy. In this second installment of his Mastering Grails series, Scott Davis introduces the Grails Object Relational Mapping (GORM) API. See how easy it is to create relationships between tables, enforce data validation rules, and change relational databases in your Grails applications.
Theory and Practice of Ropes for Java String Manipulations
Systems that manipulate large quantities of string data are poorly served by the Java language's default String and StringBuilder classes. A rope data structure can be a better alternative. This article introduces Ropes for Java, a rope implementation for the Java platform; explores performance issues; and provides pointers for effective use of the library.
January 2008
Learn the JavaServer Faces life cycle, conversion, and more
This tutorial series covers how to get started with Java Server Faces (JSF) technology, a server-side framework that offers a component-based approach to Web user-interface development. Part 1 gets you started with a JSF 1.2 overview and a basic application. This sequel gives you a firm grasp of JSF's more-advanced features: custom validators, converters, and phase listeners. Along the way you'll gain an understanding of the JSF application life cycle.
Scala presents functional programming for the object oriented
The Java platform has historically been the province of object-oriented programming, but even Java language stalwarts are starting to pay attention to the latest old-is-new trend in application development: functional programming. Get introduced to Scala, a programming language that combines functional and object-oriented techniques for the JVM.
Create rich applications with JavaFX Script
JavaFX Script, which made its debut last spring, is a scripting language that runs on top of Java Platform, Standard Edition 6 and makes it easy to code sophisticated user interfaces. Learn the essentials of the JavaFX scripting language and gain an understanding of some basic UI components with the help of the sample application detailed within.
Use Java technology to build your first Grails application.
Java programmers needn't abandon their favorite language and existing development infrastructure to adopt a modern Web development framework. In the first installment of his new monthly series Get started with Grails, get introduced to Grails and demonstrates how to build your first Grails application.
Leverage automation to move your software quickly
Automated builds aren't just for development teams — they can be extended to facilitate moving software from development all the way into production. Learn how to use Ant with Java Secure Channel for remotely deploying software into multiple target environments.
December 2007
Transactions, distribution and security with Java db4o
Java developers can get a lot of mileage out of storing objects directly in an object-oriented database like db4o. Learn how db4o handles three concerns central to Java enterprise development: transactions, distributed data management, and Web application security.
Create dynamic applications with Javax.tools
This article provides an overview of the major classes in the package, demonstrates how to use them to create a façade for compiling Java source from Java Strings instead of files, and then uses this façade to build an interactive plotting application.