Java Beans

Java beans:



  • Presentation logic

The display "HTML /Css"


  • Bussiness logic

The java code "scriplets, declartion, expressions"


  • Data access

The database "connections"

Solution.

To sepreate the presentation login and bussiness
logic we use java beans.

Java beans:

...Its a class
...implement serialization
...empty constructor
...no public varible
....private variable access using setter and getter

0 comments:

Post a Comment

My Instagram