Jaikiran Pai wrote:Riaan, good job, you seem to have done a good amount of investigation into this already and that now narrows the issue down to figuring out what the right behaviour is. I am not an expert on resource adapters, so I don't have an answer to this, but I suggest you download the JCA 1.6 spec from here http://download.oracle.com/otndocs/jcp/connector_architecture-1.6-fr-eval-oth-JSpec/ and read through some of the relevant chapters in it. I think you'll find the answer to your question in there. If you don't, then feel free to post back here.
Ulf Dittmer wrote:While I like Project Euler, I wouldn't recommend it as a way to learn Java - it's geared towards implementing mathematical or logical algorithms, not so much towards learning programming.
Anthony Allen wrote:I'm trying to learn Java programming and I'm watching Lynda.com Java Essential Training and I find myself following along with my Eclipse program open and just copying and typing out syntax with the instructor but a lot of the concepts are just brushed over so quickly that there is very little room for why, how, or what even. It's just "copy this here...now copy that here..now you want to put that in front of this..and now go do this here."
And you're just following along typing out what you're told mindlessly and it truly feels like you aren't really learning anything. What should I be doing to truly learn it?
My strategy right now is just push along and maybe I'll see something later on that makes it all click more. Maybe move on to the advanced Lynda video. Then maybe come back and watch it again while looking stuff up online until my knowledge increases on it.
I just want to get the most out of it and actually learn it. Thoughts?
Ragavan Natarajan wrote:This might help you.
https://coderanch.com/t/312022/EJB-JEE/java/Stateless-Session-Bean-maintain-state
java -cp classes Main
Exception in thread "main" java.lang.NoClassDefFoundError: Main
Caused by: java.lang.ClassNotFoundException: Main
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: Main. Program will exit.
Nistor Alexandru wrote:If you must know I am trying to learn to program on my own I am 22 and barely finished Head first Java I am still barely understanding programming concepts but if asking for help is such a problem then so be it
INFO: Stateless bean: 1
INFO: Stateful bean: 1
INFO: Stateless bean: 2
INFO: Stateful bean: 2
INFO: Stateless bean: 3
INFO: Stateful bean: 3
INFO: Stateless bean: 4
INFO: Stateful bean: 4
Winston Gutkowski wrote:
And BTW, if S&B says that you need to sort a List in order to search it (and I suspect they didn't), they're wrong.