Tag: Java

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

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

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

Struts Configuring Interceptors

Added by 3 years ago

815 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

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

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

Struts Tag and a Business Service

Added by 3 years ago

731 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

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

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

Struts tutorial Login Action

Added by 3 years ago

1.25K 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

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

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

Quick presentation of JSF 2.2

Added by 3 years ago

1.21K 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.23K 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

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

JSF and Glassfish setup tutorial

Added by 3 years ago

1.09K 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

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;

Introduction to Struts MVC Framework

Added by 3 years ago

747 Views0 Comments

The Struts Framework is a standard for developing well-architected Web applications. It has the following features: Open source Based on the Model-View-Controller (MVC) design paradigm, distinctly separating all thr...

JSF Managed Bean

Added by 3 years ago

1.13K Views0 Comments

Hey guys and let's get started with the tutorial: so in this tutorial we will discuss Managed Bean so how to create Managed Bean and how can a Java class interact with Java server faces? So first, let's create a ne...

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); } }

Struts Architecture

Added by 3 years ago

695 Views0 Comments

This video discusses: • MVC and Model 2 • Architectural Design • MVC Architecture • Command Pattern • Jakarta Struts • More XML, Less Java! • Action Mappings • Struts Flow • Struts Configuration Files • Jav...

Page 1 of 212