Skip to main content

Home/ Java World/ Group items tagged annotation

Rss Feed Group items tagged

Paul Sydney Orozco

Tutorial On Spring with Hibernate and Java Persistence API - 0 views

  •  
    Sample of using Hibernate Annotations by reducing XML configuration files thus making it simpler to define required metadata directly into our Java code. When using annotations, we no longer need the additional mapping file (*.hbm.xml). The metadata for the ORM is specified in the individual classes.
Hendy Irawan

The Object Teams Blog - 0 views

  •  
    " Everthing Object Teams - adding team spirit to your objects. Object Teams with Null Annotations without comments The recent release of Juno M4 brought an interesting combination: The Object Teams Development Tooling now natively supports annotation-based null analysis for Object Teams (OT/J). How about that? :)"
Paul Sydney Orozco

How to Use @Required Annotation in Spring - 0 views

  •  
    An Example explaining on how @Required annotation from Spring Framework works. Provides sample on how to use @Required and expected exception if beans are not properly configured like BeanInitializationException or Property is required for bean.
Paul Sydney Orozco

What's new in Spring 3.0.5 which is now Released - 0 views

  •  
    Spring 3.0.5 is now released and comes with the fixes of more than 80 minor issues and provided some enhancements and improvements to the Spring Expression Language (SpEL), annotation support, and embedded databases.
Hendy Irawan

JAX-RS and CDI integration using Glassfish v3 | Java.net - 0 views

  •  
    JAX-RS 1.1 offers a @ApplicationPath annotation applicable to javax.ws.rs.core.Application which let you specify the webcontext and remove the need for any web.xml
Hendy Irawan

morphia - A type-safe java library for MongoDB - Google Project Hosting - 0 views

  •  
    "Morphia is a lightweight type-safe library for mapping Java objects to/from MongoDB: Easy to use, and very lightweight; reflection is used once per type and cached for good performance. Datastore and DAO access abstractions, or roll your own... Type-safe, and Fluent Query support with (runtime) validation Annotations based mapping behavior; there are no XML files. Extensions: Validation (jsr303), and SLF4J Logging"
Hendy Irawan

Java Persistence/Caching - Wikibooks, open books for an open world - 0 views

  •  
    Caching is the most important performance optimization technique. There are many things that can be cached in persistence, objects, data, database connections, database statements, query results, meta-data, relationships, to name a few. Caching in object persistence normally refers to the caching of objects or their data. Caching also influences object identity, that is that if you read an object, then read the same object again you should get the identical object back (same reference). JPA 1.0 does not define a shared object cache, JPA providers can support a shared object cache or not, however most do. Caching in JPA is required with-in a transaction or within an extended persistence context to preserve object identity, but JPA does not require that caching be supported across transactions or persistence contexts. JPA 2.0 defines the concept of a shared cache. The @Cacheable annotation or cacheable XML attribute can be used to enable or disable caching on a class.
Paul Sydney Orozco

How to Add CRUD Capability On Spring MVC using Hibernate JPA - 0 views

  •  
    A step by step tutorial on adding CRUD (Create,Read,Update,Delete) capability on Spring MVC using Hibernate JPA.
anonymous

TypeScript Type Inference - javatpoint - 0 views

  •  
    The TypeScript compiler infers the type information when there is no explicit information available in the form of type annotations.
1 - 9 of 9
Showing 20 items per page