This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Java Beans and Packages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Beans and Packages" Watch "Java Beans and Packages" New topic

Java Beans and Packages

Jake Chinn

Joined: Apr 22, 2001
Posts: 4
Hello list,
Can anyone give me an example of how to use packages in relation to the beanbox? The Sun tutorial isn't very clear on this point and it seems like no matter what folder I put my class file in, the beanbox can't find it if the class has a package statement in it.
My package statement is "package acme.beans;".
How should my folders be setup relative to the beanbox folder, itself? Where should my class file(s) be? Where should my jar file be?
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Since I have not a clue which beanbox that you are using, and at any rate it is just a specialized IDE, I will move this thread to that forum.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Consider Paul's rocket mass heater.
subject: Java Beans and Packages
It's not a secret anymore!