Re: [Wicket-user] Database Integration With Wicket

2006-10-05 Thread Leszek Gawron
igor.vaynberg wrote: > if you want to use straight jdbc that should be easy. what you need is a > connection pool - there is one in apache commons. > > you store the connection pool reference in your Application subclass. > whether you create it there or pull it out of jndi is up to you. > > then

Re: [Wicket-user] Database Integration With Wicket

2006-10-03 Thread igor.vaynberg
if you want to use straight jdbc that should be easy. what you need is a connection pool - there is one in apache commons. you store the connection pool reference in your Application subclass. whether you create it there or pull it out of jndi is up to you. then you subclass requestcycle and do

Re: [Wicket-user] Database Integration With Wicket

2006-10-03 Thread Korbinian Bachl
d DB, in my point of view, just use what you prefer. Regards Korbinian > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von Anders Peterson > Gesendet: Dienstag, 3. Oktober 2006 11:30 > An: wicket-user@lists.sourceforge.net &

Re: [Wicket-user] Database Integration With Wicket

2006-10-03 Thread Anders Peterson
nother (e.g: kodo) by just changing > 2 lines in persistence.xml... as well as afterward tweaking if you need so. > > Regards > > Korbinian > > >> -Ursprüngliche Nachricht- >> Von: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Im Auftrag >> von And

Re: [Wicket-user] Database Integration With Wicket

2006-10-03 Thread Korbinian Bachl
ery > > fast start - not elegant, but hey, you see how it works > > > > - same is with EJB3 code for obtaining JNDI :) - ok, this > is not hard, > > but hey, most programmers are lazy... > > > > Regards, > > > > Korbinian > > > >

[Wicket-user] Database Integration With Wicket

2006-10-03 Thread Anders Peterson
ot elegant, but hey, you see how it works > > - same is with EJB3 code for obtaining JNDI :) - ok, this is not hard, > but hey, most programmers are lazy... > > Regards, > > Korbinian > > > > *Von:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *Im Auftrag

Re: [Wicket-user] Database Integration With Wicket

2006-09-27 Thread Korbinian Bachl
von Ayodeji AladejebiGesendet: Mittwoch, 27. September 2006 13:01An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Database Integration With Wicket Why should anybody be using eclipse for JPA rather than NB5.5. Oh my God you cant have an idea of how much fun you are missing.

Re: [Wicket-user] Database Integration With Wicket

2006-09-27 Thread Ayodeji Aladejebi
Why should anybody be using eclipse for JPA rather than NB5.5. Oh my God you cant have an idea of how much fun you are missing. With NB5.5 i configured and setup Persistence within my wicket application in minutes and my persistence is working to fine. Not even with the annotation support in my ent

Re: [Wicket-user] Database Integration With Wicket

2006-09-25 Thread Gustavo Santucho
> Then if you use eclipse you look at Dali I strongly recommend Netbeans for JPA development. For a comparison, check out http://blogs.sun.com/klingo/entry/jpa_netbeans_5_5_vs I use JPA and both Eclipse and Netbeans on a daily basis. - Gustavo. ---

Re: [Wicket-user] Database Integration With Wicket

2006-09-25 Thread Anders Peterson
I looked at JPA this weekend - I'm positively surprised! At first I was confused about how everything fit together; JPA, GlassFish, Sun, Java, Oracle, TopLink... What you should know is: 1) GlassFish is the name for the open source development project for building a Java EE 5 application serve

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Nathan Hamblen
Gustavo Santucho wrote: > Nathan's Databinder will give you ideas and simplicity here ( if you > ignore the Maven thing, of course ;-) ) Databinder says thanks for the compliment. Maven says it would like to meet with you in cold, dark, JAR-strewn alley and settle this thing once and for all

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Ayodeji Aladejebi
On 9/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: sure the whole abstraction thing is good but that means doing some database in wicket based on this example mandates learning some spring and some hibernate...meaning that the more paradigms the more complexity on setting up small web application

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Igor Vaynberg
sure the whole abstraction thing is good but that means doing some database in wicket based on this example mandates learning some spring and some hibernate...meaning that the more paradigms the more complexity on setting up small web applications. this is completely false. you should say "the more

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Ayodeji Aladejebi
please is wicket-contrib-database fully mature?On 9/22/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: so what is the much buzz about ror..i just did a small walkthrough that made everything look so easy :) however in the wicket-phonebook example, it was said that "All Hibernate session management

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Nick Heudecker
The first time, sure.  I'll agree with that.  Once you have your boilerplate application setup, it's pretty easy to replicate it.  On 9/22/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:so what is the much buzz about ror..i just did a small walkthrough that made everything look so easy :) however

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Ayodeji Aladejebi
so what is the much buzz about ror..i just did a small walkthrough that made everything look so easy :)however in the wicket-phonebook example, it was said that "All Hibernate session management and transaction management is handled by Spring" sure the whole abstraction thing is good but that means

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Gustavo Santucho
> any wicket example that uses EJB3 and Java Persistence 1.0 Nathan's Databinder will give you ideas and simplicity here ( if you ignore the Maven thing, of course ;-) ) Note that the Hibernate Session and the JPA EntityManager are almost indentical concepts. In fact, if you use Hibernate a

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Igor Vaynberg
bah, ruby on rails is too complex imho. lets use coldfusion instead. i can knock out any app in coldfusion probably 2x the speed of you knocking it out in ror :)-IgorOn 9/22/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: What kind of integration are you talking about? Isn't it a good idea to ke

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Gwyn Evans
Oh yes - also take a look at http://www.wicket-wiki.org.uk/wiki/index.php/IBATIS On 22/09/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > > > > > > > > > What kind of integration are you talking about? Isn't it a good idea to > > keep database/persistence code and application/gui code independe

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Johan Compagner
 rails, you will understand why may be soon all web applications on the planet may be using ruby on rails because they keep the simple things really very simple. i am all for simplicity! So lets do that in the javaworld also!johan

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Ayodeji Aladejebi
What kind of integration are you talking about? Isn't it a good idea to keep database/persistence code and application/gui code independent?/AndersIt makes sense to do that when you want to design a larger enteprise application but not for small web applications, why all the issues. when u see a fr

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Gwyn Evans
On 22/09/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > > Hi, > > i just took a closer look at the wicket-phonebook. can anyone point me to > the sourceode for it? - i can get the war from > http://wicket-stuff.sourceforge.net/wicket-phonebook/ but > dont find a source for it... (maybe im just

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Anders Peterson
I use PriDE. It's extremely small and easy to learn - basically it generates SQL for you. http://pride.sourceforge.net/ I've designed a number of supporting classes and coding conventions that give me some more advanced features (still light weight). I've been meaning to look at what exists in

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Korbinian Bachl
2006 16:57An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Database Integration With Wicket look at wicket-phonebook, it uses wicket and spring. there are dao implementations for hibernate and ibatis, but it would be trivial to write one for jdbc. spring takes care

Re: [Wicket-user] Database Integration With Wicket

2006-09-21 Thread Gwyn Evans
I'd suggest another look at the wicket-phonebook, as there's an iBATIS varient that lets you control the SQL you use. I find it useful, whereas Hibernate's too big a step for me as I don't need the areas where Hibernate's that much stronger. /Gwyn On 21/09/06, Ayodeji Aladejebi <[EMAIL PROTECTED

Re: [Wicket-user] Database Integration With Wicket

2006-09-21 Thread Igor Vaynberg
re application subclasseswell, maybe we do what i did in wicket-spring, instead of subclassing webapplication create a class that holds the functionality, and store it in the application's metadata where other who need it can get to it. i dont see a reason to have a formal module system yet (ala be

Re: [Wicket-user] Database Integration With Wicket

2006-09-21 Thread Eelco Hillenius
If someone would provide a JDBC version of wicket-phonebook, that would be welcome! We talked about wanting this, but haven't found any time to do this ourselves yet. Eelco On 9/21/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > look at wicket-phonebook, it uses wicket and spring. there are dao >

Re: [Wicket-user] Database Integration With Wicket

2006-09-21 Thread Nathan Hamblen
The colliding Application subclass problem is the reason I made AuthDataApplication, which copies the good stuff from AuthenticatedWebApplication. It's used in this example: http://databinder.net/recipe-book.html But yes it's a problem. I was waiting for some guidance from wicket-contrib (since th

Re: [Wicket-user] Database Integration With Wicket

2006-09-21 Thread Igor Vaynberg
look at wicket-phonebook, it uses wicket and spring. there are dao implementations for hibernate and ibatis, but it would be trivial to write one for jdbc. spring takes care of all the connection/transaction management for you. if you dont want spring and want to write something for pure jdbc i wou

[Wicket-user] Database Integration With Wicket

2006-09-21 Thread Ayodeji Aladejebi
Okay I know of all the contrib projects, databinder, hibernate stuffs etc, I have used databinder and its lovely but I think for some reason, database in wicket needs to be sort of easier to put up to encourage faster adaptation. Come to think about it, presently most of the present solutions aroun