1 Reply Latest reply on Jun 22, 2010 5:29 AM by EJP

    Is this the correct way?

    843793
      Hi,

      I'm designed my application but I'm not so sure if this is the correct way to do it.

      I would appreciate any opinion

      public class MySupport extends JdbcDaoSupport
      {
           public void insert()
           {
                //DO Some stuff
           }
      }
      
      public interface Idao
      {
           public void insert();
           public abstract Object getMyDao();
      }
      
      public class MyDao extends MySupport implements Idao
      {
           @Override
           public void insert()
           {
                super().insert();
                //Do some stuff here
           }
      
           @Override
           public Object getMyDao()
           {
                Object m = null;
                return m;
           }
      }
      Thanks,