Discussions

EJB design: How to avoid DAO.

  1. How to avoid DAO. (7 messages)

    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?

    Threaded Messages (7)

  2. How to avoid DAO.[ Go to top ]

    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.
  3. How to avoid DAO.[ Go to top ]

    thanks a lot...:)
  4. How to avoid DAO.[ Go to top ]

    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.
  5. How to avoid DAO.[ Go to top ]

    You may want to checkout this tutorial
  6. How to avoid DAO.[ Go to top ]

    Open Source implementation of CachedRowSet:

    <q href="jxRowSethttp://sourceforge.net/project/showfiles.php?group_id=27749">jxRowSet>
  7. How to avoid DAO.[ Go to top ]

    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
  8. How to avoid DAO.[ Go to top ]

    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