Billy JK

+ Follow
since Oct 02, 2002
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Billy JK

Joonas Järvinen wrote:This error comes when I'am only starting the application. So I'am not yet doing any sql commands. I'am not even connected to the database at this point.

at tietaexpress.PersonTable.<init>(
at tietaexpress.Searchpanel.<init>(

These packages/classes are from your own code, right ? Maybe there's a form or something that's already populated when you launch the app ? What's that searc panel ? If it has say a combo with all your users in, it might try get those from DB at startup.

Otherwise try to increase the memory params, say :
-Xms256m -Xmx768m -XX:MaxPermSize=256m
13 years ago
How are you doing your data processing ? How do you open your result set ? Any special parameters ?

If you're basically just dumping data from the DB to Excel, it's your treatment that loads too much data in memory, even if you increase the Tomcat memory to the max available, it might still crash.

Your code looks rather like you're constructing an object in memory that will hold data for all your available rows. Can't you process one line at a time and write to excel after each processed line ? ( but I might have gotten wrong your code excerpt, please add details if this is the case )
13 years ago

The core patterns 2nd edition is not posted on the web yet ...

Now it is, at least part of it, check out :
Core J2EE Patterns - Second Edition
and specifically Core J2EE Pattern Catalog
[ October 15, 2003: Message edited by: Billy JK ]
Well, there's a first time for everything
Check out the Osborne page for the book :
and you will find a Sample Chapter downloadable as a nice pdf ( chapter 2 )
The test is right :
- ejbPassivate() called immediately prior to passivation of the bean instance;
- ejbActivate() is called immediately following the succesful activation of a bean instance.
( for ex see Monson-Haefel page 61 )
In Roman's book it might be a typo, copy/paste error ...
Normally it's a couple of days, it probably depends on the country, but probably towards the end of the week it will be ok. Also you have to take into acount the different time zones and the delay that can result this way. In the end I think you will receive first an email notifying you that you can download the assignment.
And, by the way, the assignment seem to have however a number : CX-310-300A.
Good luck with part II,
As stated in the certification requirements from Sun, the necessary patterns ( at least for part I ) are the ones from GoF. So the Gof book it's probably the best reading on the subject.
You can find at different notes with brief descriptions of all the patterns from Gof. There's also a link to the James Cooper's book on design patterns.
I don't have any idea about the book you are reading, but you can find a review here :
Good luck,
[ November 22, 2002: Message edited by: Billy JK ]
Nowadays the exam is based on Java 2 platform 1.2. Sometime next year a new version of the exam will be released ( search the posts, someone had some e-mail from Sun on this matter ) and will require Java 2 platform 1.4. So probably for a period of time the two versions might co-exist, but if someone passed the first part of the 1.2 exam, it won't be allowed to continue with the 1.4 version of assignement and third exam, it will have to finish the 1.2 version. Again, see an e-mail anwser in
All this is related to the new recertification policy of Sun
Hope it helps,
Hi all,
I've just started working on the assignement for the part II, checking M.Cade's case study, reading patterns ( Core J2EE and J2EE design patterns applied ) and I was wondering if there is any other book that anybody found relevant for this part of the exam ( apart of course, Sun's "Designing Enterprise Applications with the J2EE platform" )
I browsed a bit :
- Enterprise Java With Uml,
- Developing Enterprise Java Applications with J2EE and UML
- Building J2EE Applications with the Rational Unified Process
- Developing Applications with Java and UML
- Building Java Enterprise Applications, Vol. 1: Architecture
- I don't remember what else ...
but none seemed to be exactly in sync with what I was expecting, either too code oriented, or too RUP oriented, or not J2EE oriented, or ...
Did anybody had the chance to browse
Expert One on One J2EE Design and Development ? If so, do you think is useful ? Looking at the table of contents, it looks interesting, but you never know what's really inside ...
So, anybody any recommendation, please ?
Thanks in advance,

Is there anything in particular that you liked about Enterprise Javabeans (3rd Edition) over Roman's book?

Well Matthew, I think there were a couple of things that I didn't enjoyed so much in Roman's book. I think there were places were the same info kept repeating in a slightly different form, but were basically the same. And maybe too much - rather simple - code to state things that might be condensed. On the bright side this made the book very easy to read, but sometimes I got the feeling that I might loose the important parts in the middle of a lot of maybe-not-so-important other details. But it might be just a matter of taste ... And, btw, I think the book is still available in pdf format somewhere, maybe ?!
On the other hand, the Monson-Haefel is maybe more concise and uses less filling, but it is probably a little harder to digest.

Yes, the first exam covers all the listed objectives.
Good luck,
As of today, the architect exam doesn't cover EJB 2.0, just 1.1
In a future version of the exam - sometime next year - it will upgrade the requirements to EJB 2.0
When studying for part I of the exam ( took it in october ) I enjoyed more
Enterprise JavaBeans (3rd Edition)
than the Ed Roman book, but both of them are good for the exam.
What kind of information are you looking for ?
You can take a look at
for some basics, but I don't know if it's the good answer to your question.

They are just slightly mentioned on pages 131 & 177.
ejbHome<XXX>() are new in EJB 2.0 in entity beans, are called "home methods" and can perform operations that are not specific to an entity instance.
See rather Monson-Haefel 3rd Ed for more.