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

EclipseLink / JPA Annotations – @AttributeOverride And @AssociationOverride

March 2, 2014 by Amr Mohammed Leave a Comment

At this tutorial we’ll introduce using of @AttributeOverride and @AssocationOverride that mentioned intentionally at the @MappedSuperclass tutorial. As you’ve remembered at @MappedSuperclass annotation tutorial, we’ve mentioned at the Database Design section the possibility of using @AttributeOverride and @AssociationOverride to override the attributes and associations that inherited from the mapped superclass. An entity can inherit a persistent entity state and […]

Filed Under: Java EE Tagged With: EclipseLink, JPA

EclipseLink / JPA Annotations – @MappedSuperclass

March 2, 2014 by Amr Mohammed Leave a Comment

This tutorial will explain the using of @MappedSuperclass, that could be considered as an alternative choice for sharing a persistent entity state and mapping information. An entity may inherit from a super class that provides a persistent entity state and mapping information as we’ve seen previously in the @Inheritance tutorials. Unlike using of @Inheritance, the […]

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

EclipseLink / JPA Annotations – @Inheritance With Table Per Concrete Strategy

March 1, 2014 by Amr Mohammed Leave a Comment

The inheritance is one of the most scenarios that can be encountered once we’ve been coming into business field. Inside the Java Persistence API (JPA) The entities support inheritance, polymorphic, polymorphic associations, and polymorphic queries. Both abstract and concrete classes can be entities, and both of them can be annotated with the @Entity annotation, mapped as […]

Filed Under: Java EE Tagged With: EclipseLink, JPA

JSTL Function fn:substringBefore()

March 1, 2014 by Krishna Srinivasan Leave a Comment

The <fn: substringBefore> is function of JSTL which is used to extract the part of the string before the specified substring. Syntax Of <fn: substringBefore> Tag Example Details of the Code < c:set var=”str” value=”hello world!!!! Welcome to JavaBeat”> tag is used to set variable name and to display result in the output using value […]

Filed Under: Java EE Tagged With: JSTL Tutorials

JSTL Function fn:substringAfter()

March 1, 2014 by Krishna Srinivasan Leave a Comment

The <fn: substringAfter> is function of JSTL which is used to extract the part of the string after the specified substring. Syntax Of <fn: substringAfter> Tag Example Details of the Code < c:set var=”str” value=”hello world..Welcome to JavaBeat”> tag is used to set variable name and to display result in the output using value attribute. […]

Filed Under: Java EE Tagged With: JSTL Tutorials

JSTL Functions

March 1, 2014 by Krishna Srinivasan Leave a Comment

JSTL function tag library contains set of string manipulation functions that can be used with the JSP Expression Language. Syntax of JSTL Functions Tag Library JSTL Function Tags <fn:contains()>: It is used to check whether string contains specified sub string or not. <fn:containsIgnoreCase()>:It returns true if string contains specified substring ,ignores case and also returns […]

Filed Under: Java EE Tagged With: JSTL Tutorials

JSTL SQL sql:setDataSource Tag

March 1, 2014 by Krishna Srinivasan Leave a Comment

The <sql:setDataSource> tag is used to create data source variable directly from JSP and it can be stored in a scoped variable with the help of scoped attribute. It can be used as input to other database actions. Attributes of <sql:setDataSource> Tag datasource: It specify data source name or java.sql.DataSource object. driver: It specifies JDBC […]

Filed Under: Java EE Tagged With: JSTL Tutorials

JSTL XML x:parse Tag

February 27, 2014 by Krishna Srinivasan Leave a Comment

The <x: parse> tag is used to parse the xml content and the result will be stored in specified variable. Syntax Of <x: parse> Tag Attributes Of <x: parse> Tag Attributes Description doc Specifies that source XML document to be parsed. systemId Specifies the system identifier in xml document for parsing. filter Filter object is […]

Filed Under: Java EE Tagged With: JSTL Tutorials

JSTL XML x:set Tag

February 27, 2014 by Krishna Srinivasan Leave a Comment

The <x: set> tag is used to store the result of xml path expression in scoped variable. Syntax of <x: set> Tag Attributes of <x: set> Tag Example Details of the Code <c:set var=”fruit”> tag is used to set the variable name which we want to display in the output. <x:parse xml=”${fruit}” var=”output”/> tag is […]

Filed Under: Java EE Tagged With: JSTL Tutorials

JSTL XML x:forEach Tag

February 27, 2014 by Krishna Srinivasan Leave a Comment

The <x: forEach> tag is used for looping a list of elements in an xml document. Syntax of <x: forEach> Tag Attributes of <x: forEach> Tag Example Details of the Code <c:set var=”fruitss”> tag is used to set the variable name which we want to display in the output. <x:parse xml=”${fruitss}” var=”output”/> tag is used […]

Filed Under: Java EE Tagged With: JSTL Tutorials

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 21
  • Next Page »

Follow Us

  • Facebook
  • Pinterest
JavaBeat

FEATURED TUTORIALS

Servlet Life Cycle: Explanation

Servlet Life Cycle: Explanation

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.