while wicket has first class support for editing beans, it is by no
means the only way. it is quiet trivial to create a ColumnModel that
is like a property model but reads data from a resultset object and
populates a prepared statement object...

all im saying is that you dont have to box yourself into the bean mindset

-igor

On Fri, Feb 22, 2008 at 4:50 AM, James Carman
<[EMAIL PROTECTED]> wrote:
> One thing you might want to consider is that Wicket's form support is
>  very good at editing "beans" (stuff with getters/setters) which means
>  you're going to have to transform data from your JDBC ResultSets into
>  a Java objects.  That sounds a lot like ORM to me and there are great
>  frameworks out there for that.  It's not that people or frameworks try
>  to cram ORM down your throat; it's that ORM is a proven solution to a
>  common problem.  With the combination of spring/hibernate/wicket, I
>  can whip together a form that updates a database (with validation) and
>  a screen that shows you query results (with paging, sorting) within a
>  half hour (maybe shorter if I don't take time to sip coffee :).  What
>  you need is a nice quickstart platform for doing
>  spring/hibernate/wicket that gets all the gruntwork done for you up
>  front.  I think they were working on a mvn archetype for that.  If
>  not, I was thinking about writing one myself.
>
>
>
>
>  On 2/22/08, wjser <[EMAIL PROTECTED]> wrote:
>  >
>  >  i do know how to handle JDBC. The problem is that i don't know how to use
>  >  JDBC inside Wicket.
>  >  I think that i have to implement IDataProvider wich would fetch the data
>  >  from the database, but i don't know how to do this. I also don't know how 
> to
>  >  insert data into the database which come from a form.
>  >
>  >
>  >
>  >
>  >  igor.vaynberg wrote:
>  >  >
>  >  > google is your friend
>  >  >
>  >  > 
> http://www.stardeveloper.com/articles/display.html?article=2003090401&page=1
>  >  >
>  >  > -igor
>  >  >
>  >  >
>  >  > On Fri, Feb 22, 2008 at 1:22 AM, wjser <[EMAIL PROTECTED]> wrote:
>  >  >>
>  >  >>  I just want to communicate with a database (i.e. Mysql) like fetching
>  >  >> data
>  >  >>  from the DBMS and insert/update datasets. I have/want to use JDBC and
>  >  >> SQL
>  >  >>  for fetching and inserting the data into the database.
>  >  >>  I don't know how to do this.
>  >  >>
>  >  >>
>  >  >>
>  >  >>
>  >  >>  Florian Sperber wrote:
>  >  >>  >
>  >  >>  > Hi wjser,
>  >  >>  >
>  >  >>  >  > I'm frustrated, because i didn't any answer to my question. I
>  >  >>  > searched the
>  >  >>  >  > wicket documentation and the web, but found no information.
>  >  >>  >
>  >  >>  > since Wicket is a "Web-Application"-Framework many believe, that it
>  >  >>  > should focus on especially that area.
>  >  >>  >
>  >  >>  > Wicket provides very good tools to do data manipulation and allows 
> you
>  >  >>  > to choose whichever Framework you want to use for Database-Access.
>  >  >>  >
>  >  >>  > Have a look at
>  >  >>  >    http://databinder.net/site/show/overview
>  >  >>  > or just write your own jdbc-Backend.
>  >  >>  >
>  >  >>  >  > Nowadays no serios web application can be developed without
>  >  >> database
>  >  >>  > access
>  >  >>  >  > and a no developer should be forced to use an object-relational
>  >  >> mapper.
>  >  >>  >
>  >  >>  > Please explain what you mean here. Wicket goes the Java-Way and so
>  >  >> using
>  >  >>  > objects for any data manipulation seems to be the right thing.
>  >  >>  >
>  >  >>  > Kind regards
>  >  >>  > Florian Sperber
>  >  >>  >
>  >  >>  >
>  >  >>  >
>  >  >>  > 
> ---------------------------------------------------------------------
>  >  >>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >  >>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >  >>  >
>  >  >>  >
>  >  >>  >
>  >  >>
>  >  >>  --
>  >  >>  View this message in context:
>  >  >> http://www.nabble.com/Wicket-database-access-tp15613515p15630127.html
>  >  >>
>  >  >> Sent from the Wicket - User mailing list archive at Nabble.com.
>  >  >>
>  >  >>
>  >  >>  ---------------------------------------------------------------------
>  >  >>
>  >  >>
>  >  >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >  >>  For additional commands, e-mail: [EMAIL PROTECTED]
>  >  >>
>  >  >>
>  >  >
>  >  > ---------------------------------------------------------------------
>  >  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >  >
>  >  >
>  >  >
>  >
>  >
>  > --
>  >  View this message in context: 
> http://www.nabble.com/Wicket-database-access-tp15613515p15630608.html
>  >
>  > Sent from the Wicket - User mailing list archive at Nabble.com.
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >  For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to