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
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
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
&
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
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
> >
> >
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
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.
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
> 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.
---
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
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
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
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
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
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
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
> 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
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
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
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
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
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
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
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
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 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
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
>
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
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
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
30 matches
Mail list logo