responses with Re>
>
>
> Hi all,
> I am creating struts web application. i need suggestion from u all. how can
> i planning my application . my application using database .
> 1) how to decide how many classes and which are those required?
Re>Easiest to implement a one-to-one mapping between Any DB and EntityClass
> 2) what about POJOs ? how many and which are they required?
Re>Essentially a POJO is a representation of a DB Class
> 3) should i create classes according to tables in DB?
Re>Class DBClass extends Object
Re>{
Re> private String foo="foo";
Re> public String getFoo() { return foo; }
Re> void setFoo(String foo) { this.foo = foo; }
Re> public String getfooFromDB()
Re> { //an example of acquiring Db resource
Re> connect;
Re> select;
Re> populate variable
Re> }
>
> and more suggestion if u have any..
>
> Thanks in advance,
>
> --
> View this message in context:
> http://www.nabble.com/Struts-Project-Planning-tp20151405p20151405.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
_________________________________________________________________
Stay organized with simple drag and drop from Windows Live Hotmail.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008