Here is a Maven command which will get you started:

mvn archetype:generate -B
-DarchetypeCatalog=http://legup.googlecode.com/svn/repo/archetype-catalog.xml
-DarchetypeArtifactId=spring-jpa-archetype
-DarchetypeGroupId=com.jweekend -DarchetypeVersion=0.8.4
-DgroupId=com.mycompany -DartifactId=mycompany -Dversion=1.0-SNAPSHOT
-Dpackage=com.mycompany

It is generated by the tool at http://www.jweekend.com/dev/LegUp

On Mon, Jul 4, 2011 at 5:53 PM, Bruno Borges <bruno.bor...@gmail.com> wrote:
> Wicket is a presentation framework. Your task is to integrate Spring and
> Hibernate in the first place. Later, you can just use Hibernate objects
> returned by Spring methods into Wicket with classes of type IModel. Although
> I don't recommend that. IMO you should work with detatched objects, value
> objects or something.
>
> You can also read about the pattern "Open Session in View" for web
> development with Hibernate. Some consider it an anti-pattern. But usually,
> it becomes an anti-pattern if overused IMO.
>
> But anyway, you must read. A lot. :-)
>
> *Bruno Borges*
> www.brunoborges.com.br
> +55 21 76727099
>
>
>
> On Mon, Jul 4, 2011 at 12:48 PM, hariharansrc <hariharan...@gmail.com>wrote:
>
>> i want to integrate wicket with hibernate using spring what can i do to do
>> that
>> i know wicket and hibernate to some extent is it necessary to learn spring
>> framework for integrating that
>>
>> i searched spring hibernate integration i found some materials then what
>> wicket actually does int that regard
>>
>> --
>> View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/to-integrate-wicket-with-hibernate-using-spring-tp3643931p3643931.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to