Tomasz Luchowski

Greenhorn
+ Follow
since Sep 16, 2004
Merit badge: grant badges
For More
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 Tomasz Luchowski

Hello,

I'm working on URLyBird and I am not sure what is the "right" visiblity of exceptions defined in suncertify.db. My specification says "Any unimplemented exceptions in this interface must all be created as member classes of the suncertify.db package". Does "member class" mean it is a class with package-private visibility, or does it simply mean it is a class defined in given package, any does not say anything about the expected visibility?

I believe it's the latter but just wanted to make sure I don't miss anything.

Regards,
Tomasz

Originally posted by Kristof Janssens:

StartUp.main() looks at the flag:
[...]
- is it empty, a new client object is created and will show my connection panel, which allows the user to go in local or in network mode



I do not think this is correct. At least according to my specificiation, when no argument is specified the client needs to run in networked mode - you should not allow the networked/alone choice at this stage.

Cheers,
Tomasz
This is probably an overkill, but have you looked at Java Management Extensions (JMX)?
17 years ago
If that's not a huge secret, could you guys please summarise the contents of that PM? I'm planning on doing the same thing and I'm curious what your views on this are.

Cheers,
Tomasz
18 years ago

Originally posted by Michael Valentino:
[...]
I have a feeling my installation is bad though, so on mondy I'm going to reinstall. Thanks for the help Scott, It was a bigger jump from WSAD 5.1.2 to RAD 6.0 than I had expected.



Make sure you install all fixes for both RAD and integrated WebSphere. I had a lot of trouble with pristine 6.0 versions - I don't remember what the latest version of RAD is, but I updated my WebSphere to 6.0.2.3 yesterday. While it didn't fix the specific problem that triggered me to update WebSphere, I hope it fixed others that I'd have in the future

Good luck
18 years ago

Originally posted by Raymond Ong:
Hi,

Of course I'm thinking worst case scenario. Are you saying that the messages cannot be corrupted? I need advice so I know where to properly put my validation. On my servlet or on the message-driven bean.

Thanks!



If you put validation logic in a servlet you have a meaningful way of displaying error message... if you do that in MDB it becomes problematic. What kind of validation precisely do you want to perform?

Originally posted by Vaithiya Sundaram:
Hi Tom,
I passed part1 exam last saturday with 91%.
Thanks a lot for your suggestions.

Vaithiya



Congratulations, that's brilliant score!

What are you using to prepare for part 2? I haven't started my preparation yet.

Cheers,
Tomasz
[ March 07, 2005: Message edited by: Tomasz Luchowski ]
19 years ago

Originally posted by Vaithiya Sundaram:
Thanks a lot Tom.
Your reply is very helpful.

Thanks
Vaithiya



Good luck! Let me know how is goes.

Cheers,
Tomasz
19 years ago

Originally posted by Vaithiya Sundaram:
Thanks a lot Tom.



what kind of questions? like with given diagram point out what kind of diagram is this? or benefits of each diagram? or each part of each diagram how it works like that? is the below link is enought for UML? or should i go through UML distilled thoroughly?
http://community.borland.com/article/0,1410,31863,00.html

Thanks a lot again!
Vaithiya



I don't want to reveal too much, but I am pretty sure that the above URL contains enough information and you're safe if you learn concepts covered there :-) Questions are not *too* detailed, but make sure you can tell apart different types of diagrams and understand concepts such as multiplicity, aggregation, etc.

Regarding the design patterns question - make sure you understand concepts e.g. that container acts as a Decorator, because it adds services like transactions, security, etc. These are rather easy ones if you understand the GoF patterns, do not worry too much about these.

Cheers
19 years ago

Originally posted by Vaithiya Sundaram:
Congrats Tom,
I am planning to take this exam in few days.
Can you tell me your exam experience in more detail?
In EJB how the questions are asked? it is there at conceptual level?
or at programming level? how was the security,common architecture and design patterns?
Can you tell which particular area the questions come from?

Thanks
Vaithiya




In EJB the questions I got were on somewhat "high" level - I wasn't expected to know the particular methods you need to put into home/remote interface, but be able to tell the difference between stateful/stateless session beans and what differences there are in the way container treats them (what is suitable under given circumstances, etc). Make sure you understand the passivation mechanism.

Regarding security, I felt the questions were somewhat vague. Given some requirements, you were to decide securing which data was more of importance - which I felt could be interpreted differently, depending on how you understand some business rules. I actually got these questions wrong

Common architecture related questions were very close to what you can find in most mock exam questions, it wasn't very difficult once you get used to general concepts.

Design patterns - here again I have encountered questions that I felt could be answered differently and both answers would be correct, depending on how you would justify your choice. Make sure you understand what patterns relates to some concepts in EJB - e.g. what could the job that the container performs be summarized in design patterns terms, etc.

I was somewhat surprised when I got a lot of UML questions - make sure you know every type of diagram - I feel that sample questions you can find on the net don't stress enough the importance of this objective, most of the time you'd find there really simple class/object diagram sample, whereas on the real exam you are expected to know a lot more.

Make sure to rest well before the exam - some questions are really long and you need to take into account every single detail.

Good luck!

Tomasz Luchowski

SCJP, SCBCD, SCWCD, SCEA part 1
[ February 26, 2005: Message edited by: Tomasz Luchowski ]
19 years ago
Hello,

Just want to share my joy - I passed the first part of SCEA (multiple-choice exam) today with 85%. What is funny is that I missed points in the areas I was confident I knew thoroughly, and scored 100% in some that I don't have that much experience with (e.g. Messaging). Anyway, I'm eager to start preparing for part II right now.

Best luck to all the Ranchers!

Cheers,
Tomasz
19 years ago

Originally posted by Mahesh Pinnamaneni:
hai guys,
i just want to know when we include page directive what java classes are imported by default.(just like in java prgms we know that java.lang.* is imported automatically).
thanks & regards,
Mahesh


According to Head First Servlets & JSP page 313, packages that are automatically imported for a JSP page are:
java.lang.*, javax.servlet.*, javax.servlet.http.*, javax.servlet.jsp.*

-- Tomasz
19 years ago
JSP

Originally posted by David Harkness:
If you'd like to stick with the base exceptions, however, then there's no point in wrapping FinderException -- which extends EJBException -- in an EJBException since it already is one.



That's incorrect - javax.ejb.FinderException does not extend javax.ejb.EJBException - it extends java.lang.Exception, so it is a checked exception, not an unchecked (system) one.
I was bitten by what seems to be the same problem today. When I tried to access http://localhost:8080/beer-v1/form.html I got the following error:

HTTP Status 404 - /beer-v1/form.html

type Status report

message /beer-v1/form.html

description The requested resource (/beer-v1/form.html) is not available.
Apache Tomcat/5.0.28


Spelling "Beer-v1" with proper casting (capital B) solved the problem for me.

Hope this helps,
Tomasz
What's going to change regarding SCEA - as I understand it doesn't cover any particular version of the technology? And do you happen to know when that could happen?

Cheers,
Tomasz