This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Quick Java Classes and Beans question

 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys

Just a quick question regarding classes and beans.

I just need to know, is it possible to call a JavaBean from a standard Java Class? I know how to call a bean from a JSP and a Servlet, but I could really do with calling this Bean from a simple Class.

Cheers
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by A Sek:
...I just need to know, is it possible to call a JavaBean from a standard Java Class? I know how to call a bean from a JSP and a Servlet, but I could really do with calling this Bean from a simple Class...

I'm not sure I understand the question. There's nothing special about a bean that would make it difficult to use. If anything, its conventions should make it easier to use.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic