Tag: Java

Sort: Date | Title | Views | | Comments Sort Descending
View:

Set up our development environment to use Struts 2

Added by 4 years ago

788 Views0 Comments

In this tutorial, we'll set up our development environment to use Struts 2. We'll download the Struts 2 distribution, configure a user library and create a blank web application.

Implement many to many relationship in hibernate

Added by 4 years ago

1.46K Views0 Comments

Hibernate Many-to-many Relationships - Many to many example in Hibernate. In this example we have used xml metadata. Now we will learn many-to-many relationships. Let's try many-to-many example. The many-to-many ta...

Learn more about Java Standard Tag Library

Added by 4 years ago

2.08K Views0 Comments

Java Standard Tag Library JSTL also known as Java Standard Tag Library is a collection of various tags for performing tasks like iteration, conditional checks, data formatting, localization etc. These tags are gath...

Writing a Struts 2 Application

Added by 4 years ago

1.27K Views0 Comments

Before we starts with our first Hello World Struts 2 Example, we will need few tools. 1. JDK 1.5 above 2. Tomcat 5.x above or any other container (Glassfish, JBoss, Websphere, Weblogic etc) 3. Eclipse 3.2.x above ...

Implement one to one mapping with Hibernate

Added by 4 years ago

1.10K Views0 Comments

A one-to-one association is similar to many-to-one association with a difference that the column will be set as unique. For example an address object can be associated with a single employee object.... Let us devel...

Test Driven Development and JUnit

Added by 4 years ago

1.93K Views0 Comments

One of the big changes in software engineering, and part of the agile methodology shift, is Test Driven Development (TDD). This puts writing tests near the front of the development process, not at the end as in older ...

Struts Configuring Interceptors

Added by 4 years ago

908 Views0 Comments

Interceptors allow you to define code to be executed before and/or after the execution of an Action method. (The "Filter" pattern.) Interceptors can be a powerful tool when developing applications. There are many, man...

Full HD Hibernate tutorial series [part 10] – Add a primary key

Added by 4 years ago

877 Views0 Comments

How to add a UNIQUE field? @GeneratedValue //It generates a unique value How to add a UNIQUE primary key field and make it auto-complete? @GeneratedValue(strategy=GenerationType.AUTO) //It generates a uni...

How to use the Logging API in Java programs

Added by 4 years ago

1.99K Views0 Comments

1. Overview 1.1. Logging Logging is the process of writing log messages during the execution of a program to a central place. This logging allows you to report and persists error and warning messages a...

Struts Tag and a Business Service

Added by 4 years ago

842 Views0 Comments

This video recaps the concepts presented so far in the tutorial series by creating a new Struts 2 application. It explains then how to add a sample business service and take a first look at Struts 2 tags, starting wit...

Full HD Hibernate tutorial series [part 9] – More annotations

Added by 4 years ago

1.00K Views0 Comments

How to give a custom name of a table? @Table(name="myTableName") How to give a custom name of a column? @Column(name="myColumnName") How to prevent an attribute in a class from being saved into database table? @T...

Overview of the available services of the Eclipse platform

Added by 4 years ago

1.88K Views0 Comments

1. Eclipse platform services 1.1. What are Eclipse platform services? Services are software components (based on an interface or a class) which provide functionality. The Eclipse platform defines sever...

Struts tutorial Login Action

Added by 4 years ago

1.37K Views0 Comments

In this example we will see how to create a login application using Struts.... The application will show a login page with username and password fields. A login button will be available. On click of the login button,...

Full HD Hibernate tutorial series [part 8] – Questions and answers about Hibernate

Added by 4 years ago

893 Views0 Comments

What are the uses of @Entity and @Id tag? @Entity annotation indicates that the class should persist to the database. @Id annotation represents a unique primary key How do you tell Hibernate which classes are to ...

How to debug Android applications?

Added by 4 years ago

1.85K Views0 Comments

1. Debugging Android applications 1.1. Android debuggable attribute in the AndroidManifest.xml If you develop Android applications you can debug them via Eclipse. To enable debugging an a real Android ...

Quick presentation of JSF 2.2

Added by 3 years ago

1.35K Views0 Comments

A very quick intro to the basic syntax of XHTML as used in JSF. Most JSF developers already know at least the basics of HTML; if you are one of them, skip this mini-tutorial entirely. This covers barebones syntax basi...

Full HD Hibernate tutorial series [part 7] – Insert data into database

Added by 4 years ago

1.30K Views0 Comments

public class TestEmployee{ public static void main(){ AnnotationConfiguration conf = new AnnotationConfiguration5-, conf.addAnnotatedClass(Employee.class); new SchemaExport(conf).create(true, true); ...

Primary features that are being proposed by Java SE 8 and how they will revolutionize the development process

Added by 4 years ago

760 Views0 Comments

When Java SE 5 came out with support for generics and annotations it created a major stir in the development world, opening up new and improved ways of programming. Java SE 8 is the next big release of Java and will l...

JSF and Glassfish setup tutorial

Added by 3 years ago

1.21K Views0 Comments

JavaServer Faces technology is a server-side component framework for building Java technology–based web applications. JavaServer Faces technology consists of the following: An API for representing components and...

Full HD Hibernate tutorial series [part 6 ] – Create your own Schema

Added by 4 years ago

1.04K Views0 Comments

Add this line to your hibernate.cfg.xml file <property name="hibernate.default_schema"> TESTSCHEMA <property> Using SQL scrapbook, execute this statement CREATE SCHEMA testSchema;

Page 1 of 212