Tag: Java

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

How to doawnload and install the Java Development Kit?

Added by 4 years ago

720 Views0 Comments

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

Struts 2 – The ValueStack

Added by 4 years ago

643 Views0 Comments

We'll now look at how data from the action class is made available to Struts 2 tags. We'll understand a few core concepts of the framework. This will also be our first look at the ValueStack object.

Importance and role of OGNL and ValueStack in Struts2 Framework

Added by 4 years ago

1.43K 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 10] – Add a primary key

Added by 4 years ago

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

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

Added by 4 years ago

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

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

Added by 4 years ago

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

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

Added by 4 years ago

1.23K Views0 Comments

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

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

Added by 4 years ago

896 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;

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

Added by 4 years ago

970 Views0 Comments

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

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

Added by 4 years ago

965 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){ ...

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

Added by 4 years ago

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

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

Learn more about Java Standard Tag Library

Added by 4 years ago

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

Test Driven Development and JUnit

Added by 4 years ago

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

How to use the Logging API in Java programs

Added by 4 years ago

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

Overview of the available services of the Eclipse platform

Added by 4 years ago

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

How to debug Android applications?

Added by 4 years ago

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

Implement one to one mapping with Hibernate

Added by 3 years ago

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

Implement many to many relationship in hibernate

Added by 3 years ago

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

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

Added by 3 years ago

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

Page 1 of 212