Getting started with Maven and Spring

Ian P. Christian's personal blog

Quicksearch

Recent Entries

Calendar

Back July '09
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Blog Administration


Trackbacks

Hibernate with MySQL - part 4 - annotations and maven
In the last part of my hibernate tutorials I showed how to get a simple application inserting data into a database. This part doesn't expand on that in terms of features, in fact, this tutorial actually does less! However, the last tutorial required
Weblog: Ian P. Christian's personal blog
Tracked: Sep 26, 22:55

Comments
Display comments as (Linear | Threaded)

Hi,
You maven-archetype-quickstart as an archetype to base our application upon.
Can you let us know what other archetypes are available?
Is there any archetype to kickstart a spring application?
Thanks,
K
#1 K on 2008-09-06 18:08 (Reply)
if you type 'mvn archetype:generate' on it's own, you get presented with a list of available options.

Also, you might want to look at appfuse.

Hope this helps!
#1.1 Ian P. Christian (Homepage) on 2008-09-06 18:29 (Reply)
No doubt AppFuse is good. But the drawback is it not being upto date with the latest releases of various frameworks.
#1.1.1 Karthik (Homepage) on 2008-09-06 19:50 (Reply)
Very nice tutorial for beginner !
You can also replace the content of the App Class with this code:

import org.springframework.context.support.ClassPathXmlApplicationContext;


/**
Hello world!

*/
public class App
{
public static void main( String[] args )
{
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("application-context.xml");

SayHello hello = (SayHello) ctx.getBean("hello");
hello.greet();

}
}
#2 djafaka on 2008-11-26 14:34 (Reply)
Quite a complete tutorial, grats!
#3 Andras Hatvani on 2009-02-15 11:17 (Reply)
Good tutorial for beginners!
#4 Reen (Homepage) on 2009-02-17 18:38 (Reply)
thanx a lot! I thought, I'd spend the evening with configuring spring and maven; but with this tutorial it was made in 10 Minutes - great!
#5 Carsten on 2009-03-10 18:31 (Reply)
Very simple and useful tutorial.
#6 Ganesh Venataraman on 2009-03-20 01:55 (Reply)
Thank you! Very helpful for a beginner.
#7 Eric on 2009-06-29 01:49 (Reply)

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
 
Submitted comments will be subject to moderation before being displayed.