Marketplace for Content, Tests and Assessment
 
 

Archive

Posts Tagged ‘spring’

Core Spring training classes in Burlington, MA

August 11th, 2010 Vinay No comments

If you are new to Spring and would like to learn from experts , there’s a Core Spring class coming
to Burlington, MA on September 7th . This is not cheap. This class costs $2790.

Register Here

After taking this class you will be able to

  • Develop Java applications using the Spring Framework
  • Use Dependency Injection to set up and configure applications
  • Test Spring Applications
  • Use Hibernate and JDBC with Spring to access relation databases
  • Make use of Spring’s support for transactions
  • And much more…

What:          Core Spring Class
Where:        Burlington, MA
When:         September 7-10
Cost:           $2790

Preparing for Spring certification ?

Try out these practice tests

Core Spring Certification practice test 1

Core Spring Certification practice test 2

Prototype scope in Spring beans

July 29th, 2010 Vinay No comments

When you specify a bean as prototype in xml file or through annotation

<bean
id=”myBeanInstance”
class=”com.xyx.PrototypeBeanExample”
scope=”prototype”
autowire=”byName”>

</bean>

it means that every time a request for this bean is made, a new instance is created. If you want to see the illustration

Prototype bean in Spring

Prototype is meant for beans which hold some state.

The  bean lifecycle also changes in prototype bean. From Spring’s doc

Spring does not manage the complete lifecycle of a prototype bean: the container instantiates, configures, decorates and otherwise assembles a prototype object, hands it to the client and then has no further knowledge of that prototype instance

Categories: Programming / tutorials Tags: ,

Integrating hibernate search with a Spring and JPA Application

July 19th, 2010 smitha 1 comment

In this post we will talk about how to integrate hibernate Search into your existing Spring, JPA and Hibernate application and some of the challenges we faced.

We  have a web application using Hibernate (with JPA ) and Spring. This application relies on Spring for transaction, bean initialization / injection etc. EntityManager, transaction are configured in application.xml file. When integrating Hibernate search in such an application one might face problems. In this post I am sharing some problems I faced during integration and the solutions for same.

Entitymanager configuration in my application.xml

Spring configuration:
<bean id=”propertyConfigurer”>
<property name=”location” value=”classpath:myproperties.properties”/>
</bean>

Read more…

How good are Spring certification practice tests at Skill-Guru ?

July 7th, 2010 Vinay No comments

In our previous posts we had mentioned that Ikoko has added 2 mock test of 50 questions each at Skill-Guru

Spring certification mock test 1

Spring certification mock test 2

These tests are priced at $0.99 each . So how good are the tests ?

Follow this discussion on javaranch to see what real users who have been through Spring certification are saying about the test

Failed Core Spring certification

Practice test for Spring Certification

June 24th, 2010 Vinay No comments

ikoko had added 2nd mock practice test for Spring Certification . He had added first test Core Spring 3.0 Certification Mock and has received very good response from users. The users have found value in the $0.99 test .

We hope that you like his Core Spring 3.0 Certification Mock Test 2 . This test covers topics on container, Test, AOP, SpEL, Database, JMS, JMX, Web, MVC, Remoting etc

Looking for your feedback and inputs.

Hibernate Search – Getting Started

June 15th, 2010 smitha 9 comments

Once your dynamic site has gone bigger, data in relational database has grown, there is always a need for searching the contents. SQL queries with like ‘%…%’ are useful. But to do multiple columns / table searching, we’ll need to have big SQL queries with different conditions, ANDed and ORed. Such searching is not realistic and can not be maintained and extended easily.
For Hibernate users, Hibernate search helps searching rows from database. Without writing any complex SQL queries, you can search multiple columns and get related objects from db.

In our site Skill-Guru , you will notice a search box on the right hand side.  We have enabled the search on few tables and columns initially. Currently it will search for the tests , description and keywords for the input keyword.

Read more…

Spring certification practice test

June 8th, 2010 Vinay No comments

DanielButcher is a Sun J2EE architect who has sat 5 Sun certifications, Core Spring and PRINCE2. He has  over ten years enterprise level Java experience and over 5 years Spring experience.

He has created Core Spring Certification practice test at Skill-Guru.  It is a 50 questions test priced at $0.99 and 10 questions are free. An absolute bargain !!

Take the Spring certification practice test before you take that Spring certification.

Custom Annotation in Java 5.0

June 3rd, 2010 fanand 5 comments

Overview

Previous versions of Java provided a limited and ad-hoc mechanism for annotating code through JavaDoc comments

Java 1.5 allows both runtime and compile-time processing of annotation data. Annotations are said to annotate a Java element. A good example is the @deprecated JavaDoc tag. The @deprecated tag is used for documentation purposes. This tag has no effect on the code it describes, but causes the compiler to produce warnings if any other code references the tagged element.

Annotations will also be used for compile-time checking such as to produce warnings and errors for different failure scenarios. An example of an annotation that is used at compile time is the new @Deprecated annotation, which acts the same as the old @deprecated JavaDoc tag.

How to define an Annotation?

Annotations are defined in following way: Read more…

Get Adobe Flash playerPlugin by wpburn.com wordpress themes