This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Louis - Jean Morisset

Greenhorn
+ Follow
since Aug 25, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Louis - Jean Morisset


<jsp:useBean id="pref" class="com.Preferences" scope="session" />



Realy what happens in the background is something equivalent to this.
First it looks in the session to see if the object exists, if it does it gives it back with a reference to it called "pref". If it doesn't exist, it creates the object, puts it in the session and then gives you the reference to it called "pref". So the code would look something like this..

com.Preferences pref = (com.Preferences)req.getSession().getAttribute("pref");
if(pref == null){
com.Preferences pref = new com.Preferences();
req.getSession().setAttribute("pref", pref);
}
return pref;

Really the last line where I write return pref, I don't know exactly if it returns it like this of some other way to give you the reference to the object, but you get the idea.
[ February 22, 2005: Message edited by: Louis - Jean Morisset ]
I really have two questions!
1- If you have a strut-config.xml that is lets say 4000 actions tags.(just for the sake of discussion) and that you only use 1000 of those actions tags. (Reason for only using 1000 is because of a merge in old an new project bla bla bla). So now, when we start the application, the Struts framework parses the struts-config.xml into classes, I suppose?? and loads it into memory. Right?? And the fact that you only use 1/4 of the action tags, the 3/4 that are loaded for nothing, will it impact performances??? And how dramatically will it impact performances if it does???
2- I was told that Java introspection was not very performant. I was very supprised to hear that, but I dought my source. So I thought I would ask here. I'm sure that Java introspection for javaBeans loading either in plain java or Struts is finelly tuned, right ??

Thanks
Louis Morisset (pardon my English...)
16 years ago
Does anyone have the .jar with the JDBC drivers or can tell me where I can download them!!! I have lost enough time on this. If you have the jar file, db2jcc.jar and you don't mind emailing it to me. That would be great.
You can email it to lmoris45@yahoo.ca
Thanks in advance
Louis
16 years ago
Ok, here I go, I know I'm going to get it good, but I will say it anyways.
:roll:
I don't like people writing there Curriculum Vitae's Certifications on there posting. I don't. It's silly, maybe?? But I don't like it. I know I will get it because it seems like everyone does it. It feels like big di..k waving competition to me. So here!!! I said it!!! Just an opinion.
Louis
SCJP 1.4
Language spoken/written English, French, Spanish
Member of the Alpine Club of Canada
Proud Fan of the Montreal Canadian Hockey team!!!
AAA Member
etc...
[ October 24, 2003: Message edited by: Louis - Jean Morisset ]
16 years ago
Howard, One last thing to make sure that I did order the right book. Your book will help is a study book to help for the IBM certification exam 287 right??? And the 287 is the advanced EJB devloper exam right??
Thanks
Louis
I guess I'm a sucker for advertisement, I ordered it too . Howy, you should stop programming and start selling
Eh Howard, (I may be French, but I am Canadian too, eh!!!) are you like IBM, if we pass our certification with your book, do you reimburse???
Thanks for your comments, life you said Howard, like IS full of difficult decisions. Like this weekend, all this time and I don't know what I'm going to do. I think I'll start with a well deserved beer to celebrate my newly SCJP certification. Can you believe I haven't had one yet!!! , have one for me will ya boys!!
Cheers
Louis
[ October 24, 2003: Message edited by: Louis - Jean Morisset ]
Howard, thanks for answering. I have to say that you could be accused of trying to seel your book but I don't think you are . In any case, here is another question for you and who ever else want's to take a crack at it. As I was talking with some people from work during lunch, our company has incentives from IBM to have it's people certified by Them. Manly IBM pays (pardon my English writing I'm French Canadian and proud of it, but my English writting suffers sometimes.) anyways, as I was saying IBM pays for it. And by the same token, you sell books . But here is the question. Would the Sun certification be more valuable since they would concentrate more on the Java/ J2EE and others specifications aspect instead of adapting the certification to there product like IBM would to for Websphere and BEA would do for Weblogic. I'm sure that either way you get extremly good knowledge, but bang for the buck, would the Sun certifications be better?? So shouldn't you go for lets say SCEA instead of the 287 from IBM??? I really would like to have thoughts on this.

Thanks
Louis
Ok, I have posted something on the Certification results this morning because I thought it was the place to ask that question, but it seems that here is a better place.
So here is take two!!
I have just passed my SCJP this Monday. Thanks, no applauses needed, ok maybe just a little . Now what??? There are the Sun's certifications and the IBM ones. My employer would like me to take the IBM certifications because we are partners. Ok, but which one should I go for first. Can I bypass certs 285 and go straight to 287 on the IBM certs?? Should I concentrate on SCEA?? This is the first question.
Second question is, which book should I get assuming I decide to do SCEZ or 287 ??
And third and last, What is the big diffrence between 287 and 484 and if you do 287 do you still have to take 286 and 287??
That's about it for now.
Thanks
:roll:
Louis
I have passed my SCJP on Monday and I find myself with a little bit of time on my hands (could be a lot, or not doesn't really matter). So I would like to know which certification I should go for next. Which one is most valuable on the market. I have to say that I do enjoy server side coding more then presentation, so I'm leaning more towards Sun Certified Enterprise Architect - Part I, but do I have to be SCJD first?? I would take the SCWCD last as I don't really enjoy JSP's coding that much :roll: I don't have to like everything do I?? So if anyone as any thoughts on what they think the next logical move should be, I would really appreciate it.
Thanks in advance

Louis
16 years ago
BTY it's the SCJP that I passed
16 years ago
Hi everyone,
I just came back from the Java certification and I passed... Oufff. What a stressfull thing it was. 5 minutes in the exam, the mouse on my computer stoped working and the clock was still runing. Took them about another 5 minutes to fix it. So they said that if there was any problems at the end they would talk to Sun and see if I could take my exam again. But, no need for that, I finished in plainty of time. After an hour and 30 minutes I was done, so I started checking my answers and found some errors, I think... I'll never know if I could have had more of less had I not changed those answers but who cares. .
I would like to thank the people from this website. Without this site, the certification thread, and the mockup exams I would have never maid it. Keep up the good work all .
This is me happy
Ok I am pushing it but ...
Ciao
Louis Morisset
16 years ago
Yup, that's exactly what I did. Thanks, I understand after all. OUFFFFFF!!!
I'm going for the exam on Monday, I think I just need to relax. Maybe I'll have a beer tonight!!!
Here is a question that the answer I don't understand??? I thought did understand encapsulation....
A class can not be called "tightly encapsulated" unless which of the following is true?
a. The class is declared final.
b. All local variables are declared private.
c. All method parameters are declared final.
d. No method returns a reference to any object that is referenced by an internal data member.
e. None of the above

The answer is e, but I would have answered b?? I understand the there needs to be more then b for a class to be tightly encapsulated!!! But it also needs for b to be true, so I thought???
Another question is ... is there another sort of encapsulation that is not thight??? Aren't you just encapsulated or not?? Can you be loosely encapsulated and if so, what's the point??
thanks
Louis
I would like to have more information when you say that static methods are not overriden?? I thought that you could override a static method no problem. You seem to even do so in the snipet of code that is there?? Maybe I don't understand what you mean.
Louis
Hi everyone,
Here is a question for all you Struts wizz!!! Can properties files in Struts be refreshed on the fly without stoping the server? Here is what I want to do. My production server will be getting some new labels in the properties files every so often. I don't want to have to shut down and restart my server every time I need to add or modify a label. So is there a mecanism that allow this to happen without shuting down and restarting the server every time. I am using BEA Weblogic 6.XX. If there are API's that have been developped for this somewhere or whatever!!
Thanks
17 years ago