Editor's note: Sometimes the most interesting discussions begin when someone says, "This may be a stupid question, but ..." If the person asking the question has taken the time to think about the problem before asking, the question is often not stupid at all. The uncertainty points out an ambiguity in the specs, holes in the docs, or a search for how more experienced programmers may address a particular problem. From time to time, we will print one of the "(Not So) Stupid Questions" we receive and invite our readers to answer the question in the feedback section.
Remember that new people are joining the Java community all the time and may be looking for help from those with more experience. Also, those who began with Java as their first language can benefit from those coming to the community with experience in other languages. As always, answer the questions with kindness. You are also welcome to submit your questions to
This may be a stupid question, but... "I have a question about a Java feature. Who do I ask?"
First thoughts:
I often find myself stuck on some question about Java, such as "If I am creating a Web service from a wsdl file(contract-first), what is the best way to use the Java Persistence API to persist the generated classes?" I have been asking this question on several forums for some time, and each time I get the response, "Good question, go ask..." Is there a place I can ask questions and not get redirected? Is there a place where the buck stops? I know everyone is trying to be helpful—I have redirected questions myself—but I'm left with the big question:
You would not BELIEVE how helpful it was for me to consciously DECIDE to ask questions with a girl tonight. It helped TREMENDOUSLY. I learned so much. It sounds so fucking simple but I talked SO much usually that I didnt get the info I needed so I could use that info back to her. mysteryseduceamogflirtpickup
One word: Google
2006-11-28 20:21:11 joblini
[Reply | View]
Also, the Java Programmer's Almanac is very useful for basic Java techniques.
SUN should push to have all the various "forums" published onto usenet. The advantages of this are to expose this to google groups indexing. This is a massive benefit for microsoft.
If SUN + BEA + IBM + lobby, etc, could get their collective asses into gear this would be a massive (but hidden) boon for to the java community.
There is not "the" place ...
2006-08-01 13:58:34 ewin
[Reply | View]
... because the Java community is largely fragmented. One can even argue, if the sum of all the fragments make up some kind of a single community. "Everyone" likes to run his own show. Every day someone, somewhere opens a new Java discussion forum, tries to set up some expert community.
Sun is also guilty of this. Maybe they even set a precedence. When Sun started
http://forum.java.sun.com/ years ago there were already existing, prommising community nucleuses elsewhere. But nut under the control or influence of Sun, and of course, Sun wanted to have control. So Sun ignored existing efforts and started there own "community". And by doing that fragmented the small communites of these times.
And even within Sun, people can't resist. I am sure some Sun PR bunny can explain the existance of http://forums.java.net/ and http://forum.java.sun.com/ in parallel with many nice, shiny words. From a one-Java-community point of view it doesn't make sense.
I've always found the community at the Java Forums to be very strong. At least 50% of the time, the answer to my question is already there, and when I post a question, it is often answered quickly and helpfully:
http://forum.java.sun.com/index.jspa
Another really good place to look for you own answers (which of course you should *always* do before posting a question!) is the java bug parade. If you suspect what you are seeing is a bug in Java, the bug parade is a very up-to-date way to find out if you are right. It will sometimes offer you a way to work around the bug, too:
http://bugs.sun.com/bugdatabase/index.jsp
Finally, you can find all sorts of specific details about how language features are supposed to be used by checking the associated chapter in the Java Tutorial:
I've been working with Java for over 10 years now, and I'd say that I find the answer to 95% of my java questions in one of those 3 places.
your question is not clear at all
2006-08-01 07:50:46 versha
[Reply | View]
You wanted to know "..the best way to use the Java Persistence API to persist the generated classes". It's not clear at all what you are looking for. Java Persistence API is for object/relational mapping. Why should you use it for persisting generated classes?
It looks like you are not sure what you are looking for.
your question is not clear at all
2006-08-02 04:45:24 lucasjordan
[Reply | View]
I think the idea is to persist the objects defined by those classes. Not to persists the classes themselves.
there is no "the place"
2006-08-01 04:42:55 jwenting
[Reply | View]
The Java platform is large enough that there can be no single repository of all knowledge. There's no small, easy to carry package with the words "don't panic" printed in large friendly letters on the cover. There's only the encyclopedia galactica, taking up several inconveniently large parking lots on what's generally known as the internet (and several hundred kilometers of shelfspace in bookstores around the world).