File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Quick Java Classes and Beans question

 
Kevin P Smith
Ranch Hand
Posts: 362
  • 0
  • 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
  • 0
  • 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