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
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
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
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
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
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
, 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
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
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 '
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
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.
>
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
; 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
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
;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
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
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.
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
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
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
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
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
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
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
>
/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)
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
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
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
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
}
>
> 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
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
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
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
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
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
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
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
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
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
.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
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.
>
> ---
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
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.
>
> --
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
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
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
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
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
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
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
> 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-.
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
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
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
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
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
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
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
&
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
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
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.
>
>
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
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
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
>
(UnitOfWork.REQUEST)
.transactedWith(TransactionStrategy.LOCAL)
.buildModule());
// hibernate stuff
// default values from development
String connectionUrl = "";
Strin
onStrategy.LOCAL)
> .buildModule());
>
> // hibernate stuff
> // default values from development
> String connectionUrl = "";
> String username = "";
> String password = "&
ind(Initializer.class).asEagerSingleton();
> >
> > //warp persist stuff
> > install(PersistenceService.usingHibernate()
> > .across(UnitOfWork.REQUEST)
> > .transactedWith(TransactionS
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
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
--
>> > C:\projects\test>
>> >
>> > 2009/10/6 richardwilko
>> >
>> >>
>> >> Hi,
>> >>
>> >> Yes, you will need to bind every dao (and eveything you want
>>> > null
>>> > [INFO]
>>> >
>>>
>>> > [INFO] For more information, run Maven with the -e switch
>>> > [INFO]
>>> >
>>>
s.http.LightweightHttpWagon.fillInputD
> >>> > ata(LightweightHttpWagon.java:83)
> >>> > ... 24 more
> >>> > [INFO]
> >>> >
> >>>
> ------
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-
;>> > at java.lang.reflect.Method.invoke(Method.java:597)
> >> >>> > at
> >> >>> >
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >> >>> > at
> >> org.codehaus.classworlds
d)
>> >> >>> > at
>> >> >>> >
>> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> >> >>> > java:39)
>> >> >>> > at
>> >>
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
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
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
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
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
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
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
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
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
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
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
> 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
;>> 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
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
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
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
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
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
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 (
-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
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
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
>
> > 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)
&
601 - 698 of 698 matches
Mail list logo