public marks

PUBLIC MARKS with tags programming & java

July 2008

Robust Java Benchmarking: Statistics and Solutions

by BlueVoodoo
Program performance is always a concern, even in this era of high-performance hardware. This article, the second in a two-part series, covers the statistics of benchmarking and offers a framework you can use to benchmark Java code ranging from self-contained microbenchmarks to code that calls a full application.

June 2008

Refine XPath results using predicate matching

by BlueVoodoo
Predicates give you advanced and refined searching capabilities, allowing you to evaluate the values of attributes and the parent and child nodes of a targeted element. Rather than find a wider node set and refine or filter that set programmatically, you can add predicates to your XPaths to find exactly the nodes you want.

Mastering Grails: Grails and the mobile Web

by BlueVoodoo
The number of cell phone users worldwide is at 3.3 billion and rising, and Internet access from mobile phones is on a rapidly upward trajectory. Developing for the mobile Web has its unique demands. In this installment, learn how to make your Grails applications mobile phone friendly.

Robust Java Benchmarking: Issues

by BlueVoodoo
Program performance is always a concern, even in this era of high-performance hardware. This article, the first in a two-part series, guides you around the many pitfalls associated with benchmarking Java code.

Automation for the people: Pushbutton documentation

by BlueVoodoo
In this installment of Automation for the people, automation expert Paul Duvall explains how you can use open source tools to automate the generation of Unified Modeling Language (UML) diagrams, build figures, entity-relationship diagrams (ERDs), and even user documentation.

Embed the NASA World Wind Java SDK in Eclipse

by BlueVoodoo
The open source World Wind Java (WWJ) SDK by NASA creates new possibilities for the open Geographic Information Systems (GIS) community. This article explains how GIS developers who want to enhance their Eclipse-based applications can embed the WWJ SDK as an Eclipse plug-in.

Understand the benefits of using a native XML database

by BlueVoodoo
Native XML databases have grown in popularity along with XML, because data is stored as native XML, rather than through tables in a traditional database. In this tutorial, you will get quickly up to speed using a native XML database and see how to use it to benefit XML development.

May 2008

Build software with Gant (Groovy and Ant)

by BlueVoodoo
In this tutorial, get a step-by-step through Gant's fundamental concepts. You'll learn how to define behavior in your build through flexible domain-specific language, how to reuse Ant features, and how to define functions that make your builds more efficient and even proactive.

Java theory and practice: Going wild with generics

by BlueVoodoo
One of the most complicated aspects of generics in the Java language is wildcards, and in particular, the treatment and confusing error messages surrounding wildcard capture. Java developer Brian Goetz deciphers some of the weirder-looking error messages emitted by javac and offers some tricks and workarounds that can simplify using generics.

Scala and XML processing made easy

by BlueVoodoo
Scala lets you navigate and process parsed XML in several ways. It also has first class support for XML built right in, so you don't need to create strings of XML or programmatically build DOM trees. In this article, you will see these aspects of Scala in action and see how Scala can make working with XML a joy to do.

April 2008

Bind JavaBeans to RDF with Jenabean

by BlueVoodoo
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

by BlueVoodoo
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

by BlueVoodoo
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

by BlueVoodoo
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

by BlueVoodoo
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

by BlueVoodoo
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

by BlueVoodoo
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

by BlueVoodoo
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

by BlueVoodoo
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.

by BlueVoodoo
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

by BlueVoodoo
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

by BlueVoodoo
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

by BlueVoodoo
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.

PUBLIC TAGS related to tag programming

android +   api +   architecture +   basic +   blog +   book +   books +   c++ +   cheatsheet +   cloud +   code +   css +   design +   dev +   development +   ebook +   editor +   framework +   free +   game +   google +   howto +   html5 +   ide +   important +   improvement +   iphone +   java +   javascript +   language +   mobile +   mvc +   nachi +   online +   open +   patterns +   performance +   php +   python +   readme +   reference +   ruby +   software +   source +   tips +   tutorial +   very +   web +   webdev +   wiki +