In DAO pattern, I must generate class such as XXXDao for each of EntityBean.
But today, I don't want to design every class,and I want to design a class such as ResultSet, which can store data from ResultSet and transfered by network( implements the serializable Interface).
who can tell me ,where is an existing class?
-
How to avoid DAO. (7 messages)
- Posted by: Kadvin XJ
- Posted on: October 31 2002 07:27 EST
Threaded Messages (7)
- How to avoid DAO. by Dion Almaer on October 31 2002 07:42 EST
- How to avoid DAO. by Kadvin XJ on October 31 2002 08:25 EST
- How to avoid DAO. by Kadvin XJ on October 31 2002 08:34 EST
- How to avoid DAO. by Dion Almaer on October 31 2002 09:40 EST
- How to avoid DAO. by Leonard Gurevich on October 31 2002 09:59 EST
- How to avoid DAO. by Ioan S on November 04 2002 13:31 EST
- How to avoid DAO. by Ioan S on November 04 2002 13:49 EST
-
How to avoid DAO.[ Go to top ]
- Posted by: Dion Almaer
- Posted on: October 31 2002 07:42 EST
- in response to Kadvin XJ
Maybe you would prefer to use RowSet's to DAOs.
They are serializable, so you can take them all over the network. They are also part of JDBC itself, so are standard, and there are various patterns surrounding them. -
How to avoid DAO.[ Go to top ]
- Posted by: Kadvin XJ
- Posted on: October 31 2002 08:25 EST
- in response to Dion Almaer
thanks a lot...:) -
How to avoid DAO.[ Go to top ]
- Posted by: Kadvin XJ
- Posted on: October 31 2002 08:34 EST
- in response to Dion Almaer
I refered to the java reference just now.
but I found that the RowSet extends the ResultSet interface,and it is just a RowSet, and I couldnot find a implamentation of it. Anybody can tell me which class implaments it? And did it implement the Serializable Interface? Can I transfer it through network. -
How to avoid DAO.[ Go to top ]
- Posted by: Dion Almaer
- Posted on: October 31 2002 09:40 EST
- in response to Kadvin XJ
You may want to checkout this tutorial -
How to avoid DAO.[ Go to top ]
- Posted by: Leonard Gurevich
- Posted on: October 31 2002 09:59 EST
- in response to Kadvin XJ
Open Source implementation of CachedRowSet:
<q href="http://sourceforge.net/project/showfiles.php?group_id=27749">jxRowSet</a> -
How to avoid DAO.[ Go to top ]
- Posted by: Ioan S
- Posted on: November 04 2002 13:31 EST
- in response to Kadvin XJ
Maybe you want to check out this tutorial. Seems to be what do you need.
http://developer.java.sun.com/developer/Books/JDBCTutorial/chapter5.html -
How to avoid DAO.[ Go to top ]
- Posted by: Ioan S
- Posted on: November 04 2002 13:49 EST
- in response to Kadvin XJ
Maybe you want to check out this tutorial. Seems to be what do you need.
http://developer.java.sun.com/developer/Books/JDBCTutorial/chapter5.html