Creating spring application in Eclipse IDE
Creating spring application in Eclipse IDE
Here, we are going to create a simple application of spring framework using eclipse IDE. Let's see the simple steps to create the spring application in Eclipse IDE.
1. create the java project2. add spring jar files3. create the class4. create the XML file to provide the values5. create the test class
Steps to create spring application in Eclipse IDE
Let's see the 5 steps to create the first spring application using eclipse IDE.
1) Create the Java Project
Go to File menu - New - project - Java Project. Write the project name e.g. firstspring - Finish. Now the java project is created.
2)...
Blog about basic concepts of Core Java, J2EE, Hibernate, Spring Framework and Web services.
Friday, 21 August 2015
Saturday, 15 August 2015
Java Source World: Difference between JDBC and Hibernate
Difference between JDBC and Hibernate | Java Source World
Java Source World ...
Java Source World: Spring Framework - Constructor Injection with Non-String Collection
Constructor Injection with Non-String Collection
Constructor Injection with Non-String Collection (having Dependent Object) Example If we have dependent object in the collection, we can inject these information by using the ref element inside the list, set or map.
In this example, we are taking the example of Forum where One question can have multiple answers. But Answer has its own information such as answerId, answer and postedBy. There are four pages used in this example:
Question.java
Answer.java
applicationContext.xml
Test.java
In this example, we are using list that can have duplicate elements, you may use set that have only unique elements. But, you need to change list to set in...
Java Source World: Difference between JAX-RPC, JAX-WS, JAX-RS, Apache Axis, SAAJ, Apache SOAP, JWSDP, Metro, Jersey and GlassFish
Normal
0
false
false
false
EN-IN
X-NONE
X-NONE
...
Subscribe to:
Posts (Atom)