Luciano Queiroz

Ranch Hand
+ Follow
since Feb 04, 2002
Merit badge: grant badges
For More
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 Luciano Queiroz

Hi everybody!

Today I cleared the SCWCD 5 exam. My score was 84%.
It was not easy, but at the same time not so difficult.
I prepared during 4 weeks and read the book 'Head First - 2dn Edition'. In my opinion this book is 95% enough for preparation. It's a great book and offers a clear understanding of the subjects. Congratulations to the authors!
Well, the main focus of the exam is: taglibs, JSTL and EL. You must know them very well! These were responsible for the most complex questions. Besides, the exam asks a lot about: session control, listeners, declarative security, design patterns, context attributes, JSP directives, error handling, JSP actions and WAR packing.
I had only a single question using 'drag and drop'.

Once more, I appreciate the collaboration of all ranchers in this forum.

Best luck for the next candidates!


14 years ago
Hi ranchers! Today I passed SCJP 6.0 with 83% score.

Declarations, initialization and scoping = 91%
Flow control = 90%
API contents = 90%
Concurrency = 100%
OO concepts = 70%
Collections/Generics = 70%
Fundamentals = 72%

I answered 60 questions correctly in a total of 72 questions.

I read K&B book twice. In my opinion this book is enough.
Regarding the new objectives of version 6.0, there was only one question in my exam about Console.

I didn't buy Whizlabs or any other simulator tool.

As always, helped me again in order to keep my focus on this exam. Thanks to all the participants of this forum.

I guess now it's time to have a rest. Maybe in a few months I come back to try SCWCD 5 (310-083).
15 years ago
It's clear!

First of all, you must write:

import p1.A;

Second, you can not access i through A.
You must access i only by inheritance, that is, you must type i directly inside class B.


package p2;

import p1.A;

public class B extends p1.A
public void process(A a)
i = i*2;

public static void main(String[] args)
A a = new B();
B b = new B();
System.out.println( a.getI() );

But in this case, the output will be "10".
Are Inner Classes covered in SCJP 5.0 ???
I didn't see this topic at the objectives list.
Does anyone know if Shift Operators are still covered in 1.5 exam?
I don't remember to have seen this in the objective list.
[ May 30, 2005: Message edited by: Jim Yingst ]
Congratulations Marcelo!!!

Parts II & III are easy. You can do it!
Hi all!

Could you help me solving this problem:

I would like not to use accents when inserting/updating rows in my table.
For example: when a user name is 'Jos�', I wish to record simply 'Jose', that is, with no accent.
Is there a way to configure Oracle NLS Parameters, so that it does not use accents and special characters (������������������������������������������������) in varchar2 columns?

Thanks in advance.
19 years ago
Hi guys!

I'm trying to use Hibernate, but found some problems.
When I try to open the session for the first time, Hibernate aparently creates the session, maps the HBMs, but then it returns an error.
Am I missing any configuration in JBoss???
My code is as follows:

InitialContext initialContext = new InitialContext();
SessionFactory sessionFactory = (SessionFactory) initialContext.lookup( sessionFactoryJndiName );
Session session = sessionFactory.openSession();

09:23:48,657 INFO [Configuration] Configuration resource: /organisation.hibernate.cfg.xml
09:23:50,625 INFO [Configuration] Configured SessionFactory: /hibernate/organisationSessionFactory

[AbstractPasswordCredentialLoginModule] The ConnectionManager mbean: jboss.jca:service=LocalTxCM,name=DefaultDS specified in a ConfiguredIdentityLoginModule could not be found. ConnectionFactory will be unusable!
Hi fellas!

I'm pround to inform that finally I'm a SCEA!!!

I passed parts II/III !!!
Received the result sooner than I expected.
Thanks everyone who contributed to my success.

This exam helped me to learn and understand many stuffs.
Design patterns must be very well known. It's crucial.

The forum JavaRanch is great! One can learn so much here!

Test: Sun Certified Enterprise Architect for Java 2 Platform Enterprise Edition Technology Part II (310-061)
Date Taken: 2004-08-22 21:14:33.077
Registration Number: kcalam5048
Site: br13
Grade: P
Score: 79
Comment: This report shows the total points that could have been awarded in each section and the actual amount of points you were awarded. This information is provided in order to give you feedback on your relative strengths on a section basis. The maximum number of points you could have received is 100, minimum to pass is 70.
Class Diagram (44 maximum) .......................... 34
Component Diagram (44 maximum) ...................... 34
Sequence/Colloboration Diagrams (12 maximum) ........ 11
Hi folks!

Where my SCEA final score (including parts 2 & 3) will be displayed?


Will exist a new menu or button for viewing the result?
Hi everybody!

Today I completed part III.
It was quite simple for who document the assignment very well.
It's all about non-functional requirements.
Now I'm eager to receive my score. I'll have to wait 4-6 weeks.
Hope to give you good news soon!
Ok guys!

The problem was solved!
Prometric promptly answered me and has authorized the upload.
I've just entered CertManager and uploaded my assignment!
I scheduled part III for next Friday.
I cannot wait to finish all this work.

Thanks everybody!
Hi folks!

Today I tried to upload my assignment but received the following denial message:

You do not have the rights to upload that assignment. Press the "Back" button on your browser and try another assignment. If you feel that you should have the ability to upload, please email us at for assistance.

What do I have to do now?
I remember some people from this forum had this same problem in the past.

About composite entity beans:

I have opted to use BMP + DAO.
So, my doubt is: do I have to create an BMP + DAO + VO for each entity?
I was thinking to apply the composite entity pattern.
For example, there are 3 entities: Customer, Address and CreditCard.
Do I have to define a BMP for all these 3?

I decided to define a BMP only for Customer.
Because I'll never directly access Address nor CreditCard. I'll always access Address and CreditCard through Customer.
So, if I have a single CustomerBMP communicating with AddressDAO and CreditCardDAO isn't it enough?
Then, CustomerBMP can receive and return AddressVO and CreditCardVO whenever a customer needs to read/update his address or credit card. I implement get/set methods in CustomerBMP that use all these 3 VOs and DAOs.

What do you think about this?
I don't think CMP would satisfy the performance requirements.
Take a look at the interview and see the desired response time and the expectation of simultaneous users. Can CMP achieve that??? With only 1 application server running? Which scalability will be available with only 1 machine??? I don't trust in CMP.

I choose BMP, based in self experience.