Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
Hi, I have an existing Spring/Hibernate project currently using SpringMVC as the presentation layer, and I need to port it to Wicket. I looked at the "quickstart" downloads for Wicket for how to create a Wicket project, but that's not a Spring/Hibernate project. I already

Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
types currently support various combinations of Spring, Guice, WarpPersist, JPA (with one or more implementation from EclipseLink, Hibernate, OpenJPA) and Wicket. Let us know if this is useful and if you'd like to see more combinations. Also feel free to raise any issues [2]. Regards - Cemal j

Re: bad practice in sharing models between wicket form and hibernate?

2009-02-28 Thread Martijn Reuvers
Hello Stephen, Does not sound like a problem to me. As long as your hibernate session is closed after the save you do, this object will be in a detached state and generally should cause no trouble (same goes for if you fetch an object from the database thru hibernate). Martijn On Sat, Feb 28

Re: bad practice in sharing models between wicket form and hibernate?

2009-02-28 Thread Brill Pappin
at can map directly to a simple Hibernate object, and hence a db table. Is it safe to simply wrap this object in a CompoundPropertyModel and use it as the backing model for the form? Then in the onSubmit method, calling a method to get the object from the form's model and saving it via Hiberna

Re: bad practice in sharing models between wicket form and hibernate?

2009-03-01 Thread Johan Compagner
gt; Suppose there is a wicket form with some fields that can map directly > to a simple Hibernate object, and hence a db table. Is it safe to > simply wrap this object in a CompoundPropertyModel and use it as the > backing model for the form? > Then in the onSubmit method, calling a met

Re: bad practice in sharing models between wicket form and hibernate?

2009-03-01 Thread Willis Blackburn
Let's say you have a Java object with 20 fields that's mapped to a database using Hibernate. I don't see that there's much difference in terms of memory utilization between using that object as the model and creating a separate object with 20 fields to use as the mod

Re: bad practice in sharing models between wicket form and hibernate?

2009-03-01 Thread Johan Compagner
, 2009 at 14:56, Willis Blackburn wrote: > Let's say you have a Java object with 20 fields that's mapped to a database > using Hibernate. I don't see that there's much difference in terms of > memory utilization between using that object as the model and creatin

Re: bad practice in sharing models between wicket form and hibernate?

2009-03-01 Thread Willis Blackburn
isnt persisted yet to the db and you have some kind of wizard to fill it up. On Sun, Mar 1, 2009 at 14:56, Willis Blackburn wrote: Let's say you have a Java object with 20 fields that's mapped to a database using Hibernate. I don't see that there's much differ

Re: bad practice in sharing models between wicket form and hibernate?

2009-03-04 Thread Dave Schoorl
In my current project I do just that and it works fine. I must add that it is a highly interactive application, so I work with long conversations (managed hibernate sessions), where the transaction is committed only after a number of request/response cycles after the user clicks on '

Integration test with Jboss, Tomcat, Hibernate is now easier and funny

2009-04-24 Thread Vincenzo Vitale
Hi Wicketters, hope not to be out of scope with this message but I'm pretty sure a lot of you could be interested and we feel that the project is now at stabler stage (in TomTom we are using it in every new project where an application server is involved). The open source cargo-itest project was c

Re: Fast, easy and friendly ORM (Alternative to Hibernate or JPA)

2009-05-13 Thread James Carman
onal). > >   The above code can be generated using Dreamsource ORM Code Generator >   which is an Eclipse plugin. > >   9. It provides most demanding features in a small library (522,217 >   bytes). >   10. Easy to learn and use because it just mirrors SQL statements. >

Re: Fast, easy and friendly ORM (Alternative to Hibernate or JPA)

2009-05-13 Thread Clint Popetz
le*. >>      - a converter which extends *Converter* (optional). >>      - a validator which extends *Validatable* (optional). >> >>   The above code can be generated using Dreamsource ORM Code Generator >>   which is an Eclipse plugin. >> >>   9. It pro

Re: Fast, easy and friendly ORM (Alternative to Hibernate or JPA)

2009-05-13 Thread Igor Vaynberg
;      primary key. >>>      - a table object which extends *Table*. >>>      - a converter which extends *Converter* (optional). >>>      - a validator which extends *Validatable* (optional). >>> >>>   The above code can be generated using Dreamsource ORM Code

Re: Fast, easy and friendly ORM (Alternative to Hibernate or JPA)

2009-05-13 Thread James Carman
te >>>      primary key. >>>      - a table object which extends *Table*. >>>      - a converter which extends *Converter* (optional). >>>      - a validator which extends *Validatable* (optional). >>> >>>   The above code can be generate

Re: My Wicket + Hibernate project- Transaction solutions? Java EE w/ Wicket?

2008-08-23 Thread Patrick Angeles
;ve never tried. And yes, you should be able to run Wicket in an EJB3 Container, but you'll have to deal with some boilerplate code that will allow you to inject your EJB3 services into Wicket components... Personally, I would recommend going with Wicket, Spring and Hibernate (or JPA) v

Re: My Wicket + Hibernate project- Transaction solutions? Java EE w/ Wicket?

2008-08-24 Thread francisco treacy
one thing you can do is use wicket with guice and hibernate, and have warp-persist ( http://www.wideplay.com/guicewebextensions2 ) for transactions. it's a nice stack that i use, a lightweight alternative to spring. and no need for java ee containers. you can have a look here: http://www.ri

Re: My Wicket + Hibernate project- Transaction solutions? Java EE w/ Wicket?

2008-08-24 Thread Nino Saturnino Martinez Vazquez Wael
take a look at the wicket iolite archetype. it uses spring and jpa hiberhatne.. jpswain wrote: I'm just curious what everyone is using for transaction management. I have been working with Wicket for a while now (and loving it) on a pet project that also uses Hibernate and Guice.

Re: My Wicket + Hibernate project- Transaction solutions? Java EE w/ Wicket?

2008-08-26 Thread James Perry
On Sun, Aug 24, 2008 at 4:11 AM, jpswain <[EMAIL PROTECTED]> wrote: > > I'm just curious what everyone is using for transaction management. I have > been working with Wicket for a while now (and loving it) on a pet project > that also uses Hibernate and Guice. > I&#x

Re: My Wicket + Hibernate project- Transaction solutions? Java EE w/ Wicket?

2008-08-26 Thread Maarten Bosteels
for a while now (and loving it) on a pet project > > that also uses Hibernate and Guice. > > I'm realizing now that I might need/want transactional support for a > couple > > parts of my app. > > I can't comment on Guide as it's not something I've eval

Re: My Wicket + Hibernate project- Transaction solutions? Java EE w/ Wicket?

2008-08-26 Thread David Blevins
jpswain wrote: > > I'm just curious what everyone is using for transaction management. I > have been working with Wicket for a while now (and loving it) on a pet > project that also uses Hibernate and Guice. > I'm realizing now that I might need/want transaction

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-15 Thread Nivedan Nadaraj
Hi All I use Wicket with Hibernate. I have used the hibernate entity as a Form's Model.Now however I noticed that I need to also add/update an LDAP instance's entries.This means as part of my submit Ineed to wicket to capture the non-entity properties also. 1. I either have to use a Va

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-15 Thread vov
see org.apache.wicket.model.LoadableDetachableModel -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Re-Wicket-s-Form-Model-using-hibernate-entity-or-value-objects-Design-tp2289854p2289870.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Nivedan Nadaraj
give me more information on it. Probably I should have mentioned that I wrap my hibernate entity in a CompoundPropertyModel like this MyForm extends Form{ MyForm( new CompoundPropertyModel(studyEntity)); //I also want to be able to add another model that will capture input from the for

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread James Carman
t > hand. Isn't LDM related to performance and resoles > Serialization issues? In the same note I came across Chaining of models. or > Nesting of Models...can you/someone give me more information on it. > > Probably I should have mentioned that I wrap my hibernate entity in a >

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Nivedan Nadaraj
/someone give me more information on it. > > > > Probably I should have mentioned that I wrap my hibernate entity in a > > CompoundPropertyModel like this > > > > MyForm extends Form{ > > > > MyForm( new CompoundPropertyModel(studyEntity)

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Jeremy Thomerson
Either create a model object that contains your study and foo objects, or hold an IModel as a private variable. Remember it's just regular java, so you can use member variables. Just don't forget to detach any model you hold as a variable manually. Jeremy Thomerson -- sent from my smartphone - ple

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Nivedan Nadaraj
Hi Jeremy, Nice I follow you now. I can have a container java class and have any number of member variables which in turn can be a hibernate entity and a regular java bean. The container java class will be the model. And on detach; i would have to have the container java class extend IModel and

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Pedro Santos
AM, Nivedan Nadaraj wrote: > Hi Jeremy, > Nice I follow you now. I can have a container java class and have any > number > of member variables which in turn can be a hibernate entity and a regular > java bean. The container java class will be the model. And on detach; i > would have t

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread James Carman
and >> > LoadableDetachableModel. Not sure if this model addresses the problem at >> > hand. Isn't LDM related to performance and resoles >> > Serialization issues? In the same note I came across Chaining of models. >> or >> > Nesting o

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Nivedan Nadaraj
} > > Is this what you want? > > On Fri, Jul 16, 2010 at 10:43 AM, Nivedan Nadaraj >wrote: > > > Hi Jeremy, > > Nice I follow you now. I can have a container java class and have any > > number > > of member variables which in turn can be a hibernate entity

Re: Wicket's Form Model (using hibernate entity or value objects) Design

2010-07-16 Thread Nivedan Nadaraj
chableModel. Not sure if this model addresses the problem > at > >> > hand. Isn't LDM related to performance and resoles > >> > Serialization issues? In the same note I came across Chaining of > models. > >> or > >> > Nesting of Models...can y

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Martin Grigorov
See the quickstarts at http://www.jweekend.com/dev/LegUp On Mon, Jul 25, 2011 at 8:17 PM, eugenebalt wrote: > Hi, > > I have an existing Spring/Hibernate project currently using SpringMVC as the > presentation layer, and I need to port it to Wicket. > > I looked at the "qu

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
Thanks, so I should choose Wicket 1.4.12, Spring 3.0.2, JPA 2.0 ? I didn't see a Hibernate option in that list. Hibernate is an implementation of JPA? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibe

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Bruno Borges
You should pick the last 1.4 stable version, as of the time of this email, would be 1.4.17. Secondly, Hibernate is an implementation of JPA and has no relationship with Wicket, but it has with Spring. You may drop all of your Spring MVC code, and keep the rest of its service and data layers. Why

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
icket-in-Existing-Spring-Hibernate-project-tp3693395p3693688.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: us

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Zilvinas Vilutis
You add a wicket filter in the web.xml and you're done! I've tried to use a wicket + spring + hibernate quickstart and posted the results here: http://blog.cikas.info/posts/27/dont-do-what-you-dont-need-to-do Regards Žilvinas Vilutis On Mon, Jul 25, 2011 at 10:15 PM, eugeneb

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
an send to my teacher and he will be able to build/run the Web app on his laptop without any problems. Does he also have to set up Maven on his end?? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hiberna

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
Guys, you need to add a regular-Ant, non-Maven QuickStart to your QuickStart page. Right now it's not there, and this is severely limiting. I was hoping at least Wicket wouldn't force me to go through some bloated messy configuration to get a simple app in place, unlike Spring/Hib

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Randy Schnedler
You don't have to use maven. Download wicket and drop the main wicket jar into your WEB-INF/libs folder. Also you need the one dependency slf4j in the libs folder. Add the filter to web.xml and you're ready to run a basic wicket app. Most likely, you will also want some of the other wicket jars bu

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3694331.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Randy Schnedler
t; > Thanks > > -- > View this message in context: http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3694331.html > Sent from the Users forum mailing list archive at Nabble.com. > > ---

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread jcgarciam
about SLF4J, I am getting this > > exception even after adding all the 12-13 SLF4J JARs: > > > > Detected both jcl-over-slf4j.jar AND slf4j-jcl.jar on the class path, > > preempting StackOverflowError > > > > Thanks > > > > -- > > View

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Zilvinas Vilutis
s end?? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3694118.html > Sent from the Users forum mailing list archive at Nabble.com. > > --

best way to set up tests with WicketTester Spring and Hibernate

2016-05-13 Thread hansheinrichbraun
i try to build my tests for my wicket applications with wicket 6.19.0 spring 3.2.2.RELEASE and hibernate 4.1.8.Final the tests run fine only when OpenSessionInViewFilter is used I get the Error could not initialize proxy - no sessionwhat is the best way to deal with problem. I read a remark

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Md. Jahid Shohel
On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote: > http://jweekend.com/dev/LegUp is that really working? coz , when i clicked on "Generate Maven Command" button, it took me to http://jweekend.com/dev/HomePageBody - To unsubscr

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
or some tests to get you started, > quickly. Our archetypes currently support various combinations of Spring, > Guice, WarpPersist, JPA (with one or more implementation from EclipseLink, > Hibernate, OpenJPA) and Wicket. > > Let us know if this is useful and if you'd like to se

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
combinations of Spring, >> Guice, WarpPersist, JPA (with one or more implementation from EclipseLink, >> Hibernate, OpenJPA) and Wicket. >> >> Let us know if this is useful and if you'd like to see more combinations. >> Also feel free to raise any issues

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
Works for me.. I took the guice warp persist + etc archetype.. 2009/10/6 Md. Jahid Shohel > On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote: > > http://jweekend.com/dev/LegUp > > is that really working? coz , when i clicked on "Generate Maven Command" > button, it took me to http://jweekend.co

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread James Perry
project using one of our archetypes. The projects you will generate will > include enough configuration, code and/or some tests to get you started, > quickly. Our archetypes currently support various combinations of Spring, > Guice, WarpPersist, JPA (with one or more implementation fro

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread richardwilko
ckly. Our archetypes currently support various combinations of >>> Spring, >>> Guice, WarpPersist, JPA (with one or more implementation from >>> EclipseLink, >>> Hibernate, OpenJPA) and Wicket. >>> >>> Let us know if this is useful and if you

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/Leg-Up-for-Wicket%2C-Spring%2C-Guice%2C-JPA%2C-Warp%2C-EclipseLink%2C-Hibernate-.

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Md. Jahid Shohel
seems like its working now. really cool! On Tue, 2009-10-06 at 16:01 +0200, Md. Jahid Shohel wrote: > On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote: > > http://jweekend.com/dev/LegUp > > is that really working? coz , when i clicked on "Generate Maven Command" > button, it took me to http

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Erik Post
e projects you will generate will > include enough configuration, code and/or some tests to get you started, > quickly. Our archetypes currently support various combinations of Spring, > Guice, WarpPersist, JPA (with one or more implementation from EclipseLink, > Hibernate, OpenJPA) and W

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
l > > include enough configuration, code and/or some tests to get you started, > > quickly. Our archetypes currently support various combinations of Spring, > > Guice, WarpPersist, JPA (with one or more implementation from > EclipseLink, > > Hibernate, OpenJPA) and

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Gw
Hi, I'm a newbie in Wicket. I use Databinder toolkit (wicket+hibernate) to help me develop DB application rapidly. With the built-in Jetty, the development is quite smooth, however, when trying to run my app on Tomcat 5.5 (Java 5), I faced the following error. I wonder if wicket is r

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
10/6 Gw > Hi, > > I'm a newbie in Wicket. > I use Databinder toolkit (wicket+hibernate) to help me develop DB > application rapidly. > With the built-in Jetty, the development is quite smooth, however, when > trying to run my app on Tomcat 5.5 (Java 5), I faced the followi

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
nerate will >> include enough configuration, code and/or some tests to get you started, >> quickly. Our archetypes currently support various combinations of Spring, >> Guice, WarpPersist, JPA (with one or more implementation from >> EclipseLink, >> Hibernate, OpenJPA) a

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Erik Post
etypes. The projects you will generate will >>> include enough configuration, code and/or some tests to get you started, >>> quickly. Our archetypes currently support various combinations of Spring, >>> Guice, WarpPersist, JPA (with one or more implementation from &

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
run it at your console to create a >>>> simple >>>> project using one of our archetypes. The projects you will generate >>>> will >>>> include enough configuration, code and/or some tests to get you >>>> started, >>>> quickly. Our a

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
I took the archetype for Guice, Warp, Hibernate and modified for my application. All my code looks similar to the code from the archetype. The only difference is I am not using the AnnotatinConfiguration but just the plain Configuration. I am also using c3po connection pooling with Oracle

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Erik Post
for Guice, Warp, Hibernate and modified for my > application.  All my code looks similar to the code from the archetype. > The only difference is I am not using the AnnotatinConfiguration but > just the plain Configuration.  I am also using c3po connection pooling > with Oracle. > >

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
icket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects Hi Jeffrey, I have *absolutely* no idea if this will help you, but I had the same with Spring. It started working when i put the injection annotation on the method instead of on the variable. Good luck, Erik On Tue, Oct 6, 2009 at

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
icket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects Thanks for the idea but this didn't work either. Any other ideas? I would expect the archetype to work correctly. -Original Message- From: Erik Post [mailto:eriksen...@gmail.com] Sent: Tuesday, October 06, 20

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread richardwilko
et.apache.org > Subject: Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, > Hibernate ... projects > > Hi Jeffrey, > > I have *absolutely* no idea if this will help you, but I had the same > with Spring. It started working when i put the injection annotation on >

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
(UnitOfWork.REQUEST) .transactedWith(TransactionStrategy.LOCAL) .buildModule()); // hibernate stuff // default values from development String connectionUrl = ""; Strin

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread richardwilko
onStrategy.LOCAL) > .buildModule()); > > // hibernate stuff > // default values from development > String connectionUrl = ""; > String username = ""; > String password = "&

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread danisevsky
ind(Initializer.class).asEagerSingleton(); > > > > //warp persist stuff > > install(PersistenceService.usingHibernate() > > .across(UnitOfWork.REQUEST) > > .transactedWith(TransactionS

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread richardwilko
t; the >> > archetype. Do I need to bind every DAO? So that then I need to inject >> > the DAO when it is needed? >> > >> > >> > >> > public class AppModule extends AbstractModule { >> > /* (non-Javadoc) >> >* @see com.google.inject.AbstractModule#configur

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread danisevsky
spring > >> beans > >> for every dao if using spring, so its not that bad. > >> > >> Glad you have it working now, > >> > >> Richard > >> > >> > >> Jeffrey Schneller wrote: > >> > > >> > Here is the My Guice Module that I create

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread jWeekend
-- >> > C:\projects\test> >> > >> > 2009/10/6 richardwilko >> > >> >> >> >> Hi, >> >> >> >> Yes, you will need to bind every dao (and eveything you want

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread Bert
>>> > null >>> > [INFO] >>> > >>> >>> > [INFO] For more information, run Maven with the -e switch >>> > [INFO] >>> > >>>

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-09 Thread danisevsky
s.http.LightweightHttpWagon.fillInputD > >>> > ata(LightweightHttpWagon.java:83) > >>> > ... 24 more > >>> > [INFO] > >>> > > >>> > ------

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-11 Thread richardwilko
gt; >> >>> > at >> org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> >>> > Caused by: java.io.FileNotFoundException: >> >>> > http://legup.googlecode.com/svn/repo/a >> >>> > rchetype-catalog.xml/archetype-

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-11 Thread danisevsky
;>> > at java.lang.reflect.Method.invoke(Method.java:597) > >> >>> > at > >> >>> > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > >> >>> > at > >> org.codehaus.classworlds

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-11 Thread jWeekend
d) >> >> >>> > at >> >> >>> > >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> >> >>> > java:39) >> >> >>> > at >> >>

WG: best way to set up tests with WicketTester Spring and Hibernate

2016-05-14 Thread hansheinrichbraun
Betreff: best way to set up tests with WicketTester Spring and Hibernate i try to build my tests for my wicket applications with wicket 6.19.0 spring 3.2.2.RELEASE and hibernate 4.1.8.Final the tests run fine only when OpenSessionInViewFilter is used I get the Error could not initialize proxy - no

Three tier layered application using Wicket + Spring + Hibernate. How would you handle transactions?

2009-02-10 Thread Kent Larsson
th a three tier architecture using Hibernate, Spring and Wicket? If I use OSIV I will at least never run into lazy loading exceptions, on the other hand my transaction will live longer before being able to commit by being uncommitted in the view as well. Bes

Logging from Wicket alone and together with Spring and Hibernate + my own code

2009-01-20 Thread Kent Larsson
Hi, I have some questions about logging, more specifically about setting it up and making sure it works. The project I'm doing will use Wicket, Spring and Hibernate. I know that Wicket and Hibernate uses Simple Logging Facade for Java (SL4J) and that Spring is using the logging component

Re: Three tier layered application using Wicket + Spring + Hibernate. How would you handle transactions?

2009-02-10 Thread James Carman
will mix with **HibernateTemplate** and if I > will loose the ability to mark methods as *...@transactional(readOnly = > true)** etc and thus loose the ability to get some more fine grained > transaction control? > > Is there some kind of best practice for how to integrate this kind o

Re: Three tier layered application using Wicket + Spring + Hibernate. How would you handle transactions?

2009-02-10 Thread Timo Rantalaiho
emplate** and if I > will loose the ability to mark methods as *...@transactional(readOnly = > true)** etc and thus loose the ability to get some more fine grained > transaction control? It depends on what exactly you have the filter do. If you have the Hibernate transaction manager of Spri

Re: Logging from Wicket alone and together with Spring and Hibernate + my own code

2009-01-20 Thread Erik van Oosten
l use Wicket, Spring and Hibernate. I know that Wicket and Hibernate uses Simple Logging Facade for Java (SL4J) and that Spring is using the logging component from Apache Commons. Will they co-exist happily? I thought I would use log4j together with both SL4J and the logging component from Apache co

Listview and hibernate question: Objects don't get deleted before the listview getObject() is called

2010-06-25 Thread pieter claassen
I find that when I delete objects from my ListView, my model object for the ListView still contains a reference to the object. When the view tries to render, the object is already removed from the database and I get a null response on my hibernate load(). I use opensessioninview and when I check

Help with load-balancing and fail-over in a Hibernate, Spring, Wicket 3-tier architecture

2008-11-19 Thread Kent Larsson
Hi, I have this 3-tier architecture in mind: 1. Persistence: Hibernate with MySQL 2. Business: Spring 2.5 3. Presentation: Wicket I want my application to have high availability and scalability, so I want to cluster it with load-balancing, fail-over and synchronization. I wonder if you know of

Re: Listview and hibernate question: Objects don't get deleted before the listview getObject() is called

2010-06-25 Thread James Carman
from the database and I get a null > response on my hibernate load(). I use opensessioninview and when I check my > logs, the delete statement comes way after the view was rendered. > > It seems that ListView renders the new view before the transaction is closed > (but even then, the

Re: Listview and hibernate question: Objects don't get deleted before the listview getObject() is called

2010-06-25 Thread pieter claassen
delete objects from my ListView, my model object for > the > > ListView still contains a reference to the object. When the view tries to > > render, the object is already removed from the database and I get a null > > response on my hibernate load(). I use opensessioninvie

Re: Listview and hibernate question: Objects don't get deleted before the listview getObject() is called

2010-06-25 Thread nino martinez wael
d I get a null > response on my hibernate load(). I use opensessioninview and when I check > my > logs, the delete statement comes way after the view was rendered. > > It seems that ListView renders the new view before the transaction is > closed > (but even then, the delete sho

Re: Listview and hibernate question: Objects don't get deleted before the listview getObject() is called

2010-06-25 Thread pieter claassen
> 2010/6/25 pieter claassen >>> >>> I find that when I delete objects from my ListView, my model object for >>>> the >>>> ListView still contains a reference to the object. When the view tries >>>> to >>>> render, the object is already remo

Re: Listview and hibernate question: Objects don't get deleted before the listview getObject() is called

2010-06-25 Thread James Carman
;>> are you using a loadable detachable model or? >>>> >>>> 2010/6/25 pieter claassen >>>> >>>> I find that when I delete objects from my ListView, my model object for >>>>> the >>>>> ListView still contains a

Re: Listview and hibernate question: Objects don't get deleted before the listview getObject() is called

2010-06-25 Thread James Carman
lt; >>>> nino.martinez.w...@gmail.com> wrote: >>>> >>>>> are you using a loadable detachable model or? >>>>> >>>>> 2010/6/25 pieter claassen >>>>> >>>>> I find that when I delete objects from my

Re: How to use the LoadableDetachableModel in a Wicket, Spring, Hibernate based web application correctly?

2011-08-12 Thread jcgarciam
I'm developing a web application based on Hibernate, Spring and Wicket. > > Until now I implemented the business objects and the persistence layer. The > transaction is managed by a transaction interceptor of the Spring framework > and the HibernateTransactionManager. So each method of

Re: Help with load-balancing and fail-over in a Hibernate, Spring, Wicket 3-tier architecture

2008-11-19 Thread Johan Compagner
Can mysql really load balance like that? How does it work with transactions and so on? Normally you scale the webservers and have 1 big database server thats serves all of them. For wicket you just need tomcat with sticky sessions. Then you only have to take care of the hibernate caching on each

Re: Help with load-balancing and fail-over in a Hibernate, Spring, Wicket 3-tier architecture

2008-11-19 Thread Kent Larsson
vers and have 1 big database server thats serves > all of them. But I would really like some fail-over on the database side as well. If I can help it I don't want any single point of failure. > For wicket you just need tomcat with sticky sessions. Then you only have to > take care of the

Re: Help with load-balancing and fail-over in a Hibernate, Spring, Wicket 3-tier architecture

2008-11-19 Thread Martin Tilma
Hi, For wicket you just need tomcat with sticky sessions. Then you only have to take care of the hibernate caching on each tomcat instance Thank you! I'll read up on tomcat with sticky sessions. What do you mean with take care of hibernate caching on each tomcat instance? To have

Do you have any tips regarding smart models in a Java EE (with SLSB manager classes), Wicket, Hibernate application?

2008-11-15 Thread Kent Larsson
Hi, I have this 3-tier architecture in mind: 1. Persistence: Hibernate in its pure form (i.e. not using it as a JPA persistence provider.) 2. Business: Manager classes annotated as Stateless Session Beans (SLSB's). 3. Presentation: Wicket I thought I'd use Java Transaction API (

Re: Do you have any tips regarding smart models in a Java EE (with SLSB manager classes), Wicket, Hibernate application?

2008-11-15 Thread jWeekend
-terracotta-integration-is-out-to20362761.html#a20362761 integration too. Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk Kent Larsson-3 wrote: > > Hi, > > I have this 3-tier architecture in mind: > > 1. Persistence: Hibernate in its pure form (i.e. not using it

Design question. LAZY loading of fields in JPA/Hibernate enteties and Wicket. How do you handle it? Any way of not using DAO's?

2008-09-25 Thread Kent Larsson
Hi, == Background == In a previous non-wicket project I was involved in we had a three (or four, depending on how you see it) tier archiecture: 1. Persistence using JPA (using Hibernate as persistence provider and have it working against a MySQL database) 2. Business logic inside "ma

Re: Design question. LAZY loading of fields in JPA/Hibernate enteties and Wicket. How do you handle it? Any way of not using DAO's?

2008-09-25 Thread James Carman
ending on how you see it) tier archiecture: > > 1. Persistence using JPA (using Hibernate as persistence provider and have > it working against a MySQL database) > 2. Business logic inside "manager classes" using EJB Stateless Session Beans > 3. Presentation using Se

Re: Design question. LAZY loading of fields in JPA/Hibernate enteties and Wicket. How do you handle it? Any way of not using DAO's?

2008-09-25 Thread Kent Larsson
> > > In a previous non-wicket project I was involved in we had a three (or > four, > > depending on how you see it) tier archiecture: > > > > 1. Persistence using JPA (using Hibernate as persistence provider and > have > > it working against a MySQL database) &

<    2   3   4   5   6   7