Mastering XPages: A Step-by-Step Guide to XPages Application Development and the XSP Language

Mastering XPages: A Step-by-Step Guide to XPages Application Development and the XSP Language
Authors
Martin Donnelly, Mark Wallace, Tony McGuckin
ISBN
0132486318
Published
29 Jan 2011
Purchase online
amazon.com

The first complete, practical guide to XPages development - direct from members of the XPages development team at IBM LotusMartin Donnelly, Mark Wallace, and Tony McGuckin have written the definitive programmer's guide to utilizing this breakthrough technology. Packed with tips, tricks, and best practices from IBM's own XPages developers, Mastering XPages brings together all the information developers need to become experts - whether you’re experienced with Notes/Domino development or not.

Editorial Reviews

SqlMapper is a tool that generates source code based on annotated SQL table definitions.

SqlMapper is not intended to be a full ORM/DAO solution, but just a way to centralize and automate your data definitions. It is meant to be used as a 'preprocessor' in conjunction with an ORM/DAO package such as Persist.

There are many ORM/DAO packages to relieve developers from writing the repetitive code for storing and retrieving data from a database. This is great, but most of these packages still require you to define your data structures in more than one place. For example, you may initially define your database tables in a SQL file, and then have to write separate configuration or mapping files defining how the tables map to your model objects. Or you have to write your model classes and make sure that they map to the tables in your schema. Some packages try to use the database metadata to avoid this duplication but the metadata support varies from one database to another making this a fragile solution.

SqlMapper attempts to address these problems by allowing you to define your object models at the same time and in the same place that you define your database schema. You do this by adding annotation comments to your database table and column definitions. SqlMapper then reads this annotated SQL schema file along with one or more template files, and it outputs a source code file for each database table definition.

More documentation can be found here.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“We better hurry up and start coding, there are going to be a lot of bugs to fix.”