JavaBeat

  • Home
  • Java
    • Java 7
    • Java 8
    • Java EE
    • Servlets
  • Spring Framework
    • Spring Tutorials
    • Spring 4 Tutorials
    • Spring Boot
  • JSF Tutorials
  • Most Popular
    • Binary Search Tree Traversal
    • Spring Batch Tutorial
    • AngularJS + Spring MVC
    • Spring Data JPA Tutorial
    • Packaging and Deploying Node.js
  • About Us
    • Join Us (JBC)
  • Privacy

Servlet Life Cycle: Explanation

June 27, 2019 by itadmin Leave a Comment

Servlets are small programs that run at server side and creates dynamic web pages. Servlets respond to requests sent by the user. In MVC architecture, servlets act as a controller. The controller processes and responds to user requests. The Servlet Life Cycle contains the following steps: Load servlet class. Create a servlet instance. Call the […]

Filed Under: Java EE Tagged With: Servlets Tutorials

javax.naming.NameNotFoundException: Name is not bound in this Context Exception

May 3, 2014 by Krishna Srinivasan Leave a Comment

When you are working with the JNDI look up, quite often you would encounter the javax.naming.NameNotFoundException thrown by your application. JNDI names are registered in the registery, if you try to access the name which is not registered or by the wrong format, you would get the javax.naming.NameNotFoundException. Lets look at the below code for […]

Filed Under: Java EE Tagged With: Java Exceptions, JNDI

JPA – Java Persistence Query Language (JPQL) – PART II

March 21, 2014 by Amr Mohammed Leave a Comment

This tutorial is a complement for Java Persistence Query Language (JPQL) Part I, in which a new techniques of querying should be discovered and learned. Instead of depending on the entities that being retreived upon query for accessing their inner state/association fields, we’ve also would be querying those fields through an advanced techniques of query. […]

Filed Under: Java EE Tagged With: EclipseLink, JPA

Java EE 8 Survey and Features

March 19, 2014 by Krishna Srinivasan Leave a Comment

Oracle calls the enterprise community for a third and final survey on Java EE 8.  The closing date for the survey will be March 24, 2014 at 12 AM Pacific Time. It is only the attempt by Oracle to gather the information from community to get an idea of what is the most demanded features. However, there is […]

Filed Under: Java EE Tagged With: Java EE 8

JPA – Java Persistence Query Language (JPQL) – PART I

March 18, 2014 by Amr Mohammed Leave a Comment

Java Persistence Query Language (JPQL) is a string-based query language used to define queries over entities and their persistent states. It enables the application developer to specify the semantics of queries in a portable way and independent of the particular database schema that in use. Java Persistence Query Language (JPQL) is not only portable but […]

Filed Under: Java EE Tagged With: EclipseLink, JPA, JPQL

JPA – Lazy Loading and Eager Loading

March 13, 2014 by Amr Mohammed Leave a Comment

Eclipselink 2.1 is a persistence provider runtime of the Java Persistence API 2.1 specification. JPA  specification defines two major strategies of loading data (Lazy and Eager). The EAGER strategy is a requirement on the persistence provider runtime that data must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime that […]

Filed Under: Java EE Tagged With: EclipseLink, JPA

JPA Entity Listeners And Callback Methods

March 12, 2014 by Amr Mohammed Leave a Comment

Before JPA 2.1 the concept of Entity Listeners (Injectable EntityListeners) wasn’t defined until JPA 2.1 released. The entity listener concept allows the programmer to designate a methods as a lifecycle callback methods to receive notification of entity lifecycle events. A lifecycle callback methods can be defined on an entity class, a mapped superclass, or an entity […]

Filed Under: Java EE Tagged With: EclipseLink, JPA

EclipseLink – DDL Schema Generation in JPA 2.1

March 8, 2014 by Amr Mohammed Leave a Comment

If you’ve a good experience in the Java Persistence API, you can configure the JPA to generates the required schema. These are not part of the JPA implementation prior to the JPA 2.1 specification. These are considered as the extensions for the JPA provider. However, this has been standardized from the JPA 2.1 release. JPA […]

Filed Under: Java EE Tagged With: EclipseLink, JPA

JPA Annotations – @GeneratedValue, @SequenceGenerator and @TableGenerator

March 7, 2014 by Amr Mohammed Leave a Comment

We’ve already discussed a different kind of primary keys, either simple or composite primary keys have assigned an inline values in the executable applications that were made. by looking into @Id, @IdClass or @EmbeddedId examples you could see that. But what if we would have some generator to generate these primary values. This tutorial explains the ID […]

Filed Under: Eclipse, Java, Java EE Tagged With: EclipseLink, JPA

JSTL Function fn:replace()

March 7, 2014 by Krishna Srinivasan Leave a Comment

<fn:replace()> is a string function. The function replace is used to replace the entered string with specified string. The <fn:replace()> function replaces the existing string with another string. Syntax of JSTL Function <fn:replace()> Example of JSTL Function <fn:replace()> Following example demonstrate the working of <fn:replace()> function. In this example we replace the string Welcome to […]

Filed Under: Java EE Tagged With: JSTL Tutorials

  • 1
  • 2
  • 3
  • …
  • 21
  • Next Page »

Follow Us

  • Facebook
  • Pinterest
JavaBeat

FEATURED TUTORIALS

Java Scanner Class With Examples

Java Scanner Class With Examples

What is new in Java 6.0 Collections API?

The Java 6.0 Compiler API

The Java 6.0 Compiler API

Copyright © by JavaBeat · All rights reserved

This website uses cookies to ensure you get the best experience on our website. Learn more.