java - persistence - Entity classes vs Hibernate framework vs other -
i'm making web app. gets data sql db. had code in jsp query db however, code available user - via source code - not practice, right? so, decided use entity classes - bc, that's netbeans seems want me do. however, "entity classes database" ~wizard, not create classes me (it freezes) so, i've resorted building classes myself - , very, difficult (at least me...) , have not been able classes work. soo, question is: should using entity classes or else? and, if else, hibernate? or....????thx!
actually source code of jsp file not available user. jsp files compiled in java class files generate html sent user's browser. thing user has access generated html, output of jsp page. put: javascript visible end user, java source code not.
if want build entity classes netbeans, recommend start tutorial rather own database, this 1 netbeans 7.1.
i did project using entity classes built jooq , happy results. if don't need use hibernat or jpa, might want use jooq. found simpler , easier work with.
Comments
Post a Comment