Groovy and Grails – A Getting Started Guide

 

There is a new introductory article on Groovy and Grails, Groovy and Grails – A Getting Started Guide, which walks you through some nice Groovy and Grails example. The article discusses what it is, web development, Grails features, architecture, installation, how to go about developing a Grails app, the app structure, using the database, how Grails transparently uses The article discusses what it is, web development, Grails features, architecture, installation, how to go about developing a Grails app, the app structure, using the database, and a lot more.

{snapshot

What is Groovy?

Groovy is a language that has a syntax that’s similar to, yet simpler than, Java. It’s often referred to as a scripting/agile/dynamic language, but I would prefer to stay away from these adjectives as I feel they only end up confusing things. If Java is a wise middle-aged man, Groovy is his teenage son. Groovy has many of the old man’s characteristics but is a lot wilder and a lot more fun. Both of them also work together very well.

Groovy has a lot fewer rules than Java. For example, in Java to get the standard “Hello World” output, you need to write a class, a main method with proper arguments, and more. But in Groovy, if you don’t wish to write all the boilerplate code, you can get rid of the class definition and the main method and just write the one line of code that actually prints “Hello World.”

}Access the tutorial here

Advertisements

SUN CODE FOR FREEDOM CONTEST

Sun Microsystems, a front-runner in supporting open source and one of the largest contributors to this movement, takes this opportunity to invite the young, dynamic academic community of India to come and become a part of this exciting open source wave. We can take this opportunity to learn about open source technology and make contributions to specific open source projects. You can find more information here

Sun Developer Network Academic Developer Program

 

The Sun Developer Network (SDN) Academic Developer Program is all about empowering Academic Developers through sharing, collaboration and open innovation. Not coincidently, these are key elements of what we at Sun, refer to as the Participation Age. So, whether you’re a student and new to Java or Solaris, an educator looking to incorporate the latest innovations in your curricula, a researcher building high performance applications or a hard-core game developer, the SDN Academic Developer Program offers you ready access to the tools, resources and communities in which to participate and share.

 

Join SDN here

 

Generating Reports and PDFs From a Web Application

 

When you need to generate a report, a chart, or a PDF file from a web application, you have many third-party products to help you accomplish your task, including the open source JasperReports framework. JasperReports is a reporting tool that outputs reports in HTML, PDF, XLS, CSV, and XML formats. This tutorial show how to integrate the JasperReports framework into a web application that you build using the Sun Java Studio Creator IDE.

Read the full tutorial here

Microsoft Releases New JDBC Driver for SQLServer

 

Microsoft released an update to its freely distributable JDBC driver for the SQLServer database engine. Microsoft released a new version of the JDBC driver for its SQLServer database engine. The new driver provides a Type 4 JDBC interface to the latest version of SQLServer, and supports JDK releases above 1.4:

“In this release we re-architected the communication stack resulting in significant performance and scalability improvements, as well as minimizing the driver memory footprint usage, especially with multiple active connections and result sets. These enhancements are most visible when the “responseBuffering=adaptive” connection property is used. The driver now supports SQL Server SSL encryption as part of our continual commitment to security.”

Original article here.

What do you think of SQLServer as a database for enterprise Java applications?

Mastering EJB 3.0 Free Book

 

For those of you who were eagerly awaiting (who wasn’t?) EJB 3, here is a free book on the subject which can be downloaded from here. Hope you find it useful (at least is free!).This book is a tutorial on EJB 3.0.It’s about EJB concepts, methodology, and development. This book also contains a number of advanced EJB topics, giving you a practical and real-world understanding of the subject.