Category: Java

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

Implement many to many relationship in hibernate

Added by 3 years ago

1.34K 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...

Importance and role of OGNL and ValueStack in Struts2 Framework

Added by 4 years ago

1.41K Views0 Comments

http://java9s.com In this session i have explained about the importance and role of OGNL and ValueStack in Struts2 Framework. i have explained how OGNL offers the expression language in form tags and type conversion....

Full HD Hibernate tutorial series [part 5] – Write a TestEmployee test class

Added by 4 years ago

963 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 3 years ago

680 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...

Writing a Struts 2 Application

Added by 3 years ago

1.17K 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 3 years ago

1.01K 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...

Setting up Struts2

Added by 4 years ago

603 Views0 Comments

Another Channel : http://youtube.com/viveknotty Official Website : http://www.VNRgroups.com Facebook Page : http://www.facebook.com/VNRgroups

Full HD Hibernate tutorial series [part 4] – Create Employee class

Added by 4 years ago

955 Views0 Comments

The Employee class should look like this @Entity public class Employee{ private int empId; private String empName; @Id public int getEmpId(){ return empId; } public void setEmpId(int empId){ ...

Quick presentation of JSF 2.2

Added by 3 years ago

1.19K 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...

Struts Configuring Interceptors

Added by 3 years ago

807 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...

How to doawnload and install the Java Development Kit?

Added by 4 years ago

713 Views0 Comments

***MAKE SURE TO WATCH IN HIGH QUALITY**** How to download and install the Java Development Kit

Full HD Hibernate tutorial series [part 14] – Inheritance mapping

Added by 4 years ago

718 Views0 Comments

Project.java @Entity @Inheritance(strategy=InheritanceType.THEINHERITANCE) public class Project{ @Id @generatedValue private int projectId; private String projectName; } Module.java @Entity publ...

Struts2 -Post Requests to Actions

Added by 4 years ago

965 Views0 Comments

Another Channel : http://youtube.com/viveknotty Official Website : http://www.VNRgroups.com Facebook Page : http://www.facebook.com/VNRgroups

Full HD Hibernate tutorial series [part 3] – Write hibernate.cfg.xml file

Added by 4 years ago

1.07K Views0 Comments

Your hibernate.cfg.xml file should look like this <property name="hibernate.connection.driver_class"> org.apache.derby.jdbc.ClientDriver </property> <property name="hibernate.connection.url"> jdbc:...

JSF and Glassfish setup tutorial

Added by 3 years ago

1.08K 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...

Struts Tag and a Business Service

Added by 3 years ago

717 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...

Introduction To MVC with Struts 2

Added by 4 years ago

870 Views0 Comments

In this video, we'll learn about the MVC architectural pattern. We'll learn what the Model, View and Controller roles are with a real world example.

Full HD Hibernate tutorial series [part 13] – Create a compound key

Added by 4 years ago

855 Views0 Comments

We want to make "userId" and "accountId" primary keys in the table "Account" Compoundkey.java @Embeddable public class Compoundkey implements Serializable{ private int userId; private int accountId; pub...

Struts2 Accessing Input Parameters

Added by 4 years ago

664 Views0 Comments

Another Channel : http://youtube.com/viveknotty Official Website : http://www.VNRgroups.com Facebook Page : http://www.facebook.com/VNRgroups

Full HD Hibernate tutorial series [part 2] – Configure Eclipse with Hibernate

Added by 4 years ago

1.09K Views0 Comments

1. Create a "User library" Using top menu click "Window" -> "Preferences" -> Type user -> "User Librairies" -> "New" Click "Add Jar" -> "DerbyClient.jar" Click "Add Jar" -> Select Hibernate J...

Page 1 of 3123