Posts Tagged ‘Tutorial’

Hibernate Hello World example using Annotation

Hibernate Hello World example using Annotation
In this tutorial we will write a CRUD application in Hibernate using Java 5 Annotation. For this we will use our previous tutorial Hibernate Maven MySQL hello world example (XML Mapping) as base and convert it from XML Mapping to Annotation.Tools and Technologies used:Java JDK 5 or above Eclipse IDE 3.2 or above Maven 3.0 or above Hibernate 3.0 or above MySQL 5.0 or above1. Database CreationFor ...

How to implement Master/Detail forms using Spring Roo

How to implement Master/Detail forms using Spring Roo
I jumped in the Spring Roo wagon since version 1.1.0M1. The first thing I wanted to do after got used to it. It was to try typical requirements that come very often in the work of a Web Developer. I needed a wep app to work on, so I came up with World Alamac by jD. Basically, WorldAlmanac web ...

Your first Play! – GAE – Siena application: Tutorial with Example

Your first Play! - GAE - Siena application: Tutorial with Example
Convention over configuration has became a buzz word these days. It is a software design paradigm which seeks to decrease the number of decisions that developers need to make, gaining simplicity, but not necessarily losing flexibility. More and more web frameworks are using this approach and making web development simple. Ruby on rails, DJango, Grails, CakePHP, ...

Spring 3 MVC – Introduction to Spring 3 MVC Framework

Spring 3 MVC – Introduction to Spring 3 MVC Framework
Introduction to Spring 3 MVC Framework Spring MVC is the web component of Spring's framework. It provides a rich functionality for building robust Web Applications. The Spring MVC Framework is architected and designed in such a way that every piece of logic and functionality is highly configurable. Also Spring can integrate effortlessly with other popular Web Frameworks like Struts, WebWork, Java Server Faces and Tapestry. ...

Tutorial: Create Struts2 Hibernate Example in Eclipse

Tutorial: Create Struts2 Hibernate Example in Eclipse
This is a demo Contact Manager application that we will create using Struts2 and Hibernate framework. In this article we will see how we can use Hibernate to perform Insert / Delete operations in Struts2 framework.Our Goal Our goal will be to demonstrate the use of Struts2 with Hibernate framework and to create a demo application "Contact Manager". The basic requirement of the Contact Manager app ...

Inner classes in Java, the mystery within.

Inner classes in Java, the mystery within.
Inner classes, also called Nested Classes, are nothing but classes that are defined within other classes. The nesting is a relationship between classes, not objects.Inner classes have clearly two benefits, name control & access control. In Java, this benefit is not as important because Java packages give the name control.Java inner classes have feature that ...

Knowing $_SERVER PHP Variable in a better way

Knowing $_SERVER PHP Variable in a better way
$_SERVER array in PHP is very useful in getting lot of information about the PHP script in execution as well as the server/request details. $_SERVER is an array containing information such as headers, paths, and script locations. The entries in this array are created by the web server.Following are few very useful attributes of ...

Introduction to Apache Archiva: The Build Artifact Repository Manager

Introduction to Apache Archiva: The Build Artifact Repository Manager
Following is the basic overview of Apache Archiva, The Build Artifact Repository Manager. What is Archiva? Apache Archiva is an extensible repository management software that helps taking care of your own personal or enterprise-wide build artifact repository. It is the perfect companion for build tools such as Maven, Continuum, and ANT.Features of ArchivaRemote repository proxying Security access ...

Creating a simple Twitter Reader(Client) in 5 minutes!!

Creating a simple Twitter Reader(Client) in 5 minutes!!
Twitter, The popular micro blogging and real time update site has changed the way we interact in internet world. Not only it has became a source of latest updates/news going in world, but also an addiction to lot of those who tweets regularly.Twitter has provided lots of API that can be used to Get the latest ...

Object-Oriented programming with JavaScript

Object-Oriented programming with JavaScript
Object-Oriented programming is one of the widely used programming paradigm that uses abstraction to create model based on real world. It is a model organized around "objects" rather than "actions" and data rather than logic. Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data. Object-oriented ...
Page 1 of 3123