• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with a bean trying to use another bean that offers db connection...[unsolved]  RSS feed

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing beans for individual database tables' manipulation but thought creating redundant and unmanaged database connection in every individual bean is not wise. So, I created a ConnectionBean class that works properly and offers connection on demand. I have another bean TopicBean which needs a connection and it requests for connection from ConnectionBean and both these beans are in the same package Utilities but when I try to access ConnectionBean from TopicBean, the java.exe says that ConnectionBean class is not found.
ConnectionBean class


Part of TopicBean class...


Reported errors...

[ January 04, 2006: Message edited by: Raghavan Chockalingam ]
 
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to Java in General (intermediate)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!