Alka Sharma

Greenhorn
+ Follow
since Sep 02, 2002
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 Alka Sharma

Thanks a lot Leo for posting the URL.

I could also see my results today on the URL provided by you. But it is still not updated on https://i7lp.integral7.com/sun
Forgot to mention, I am polling following site for results:
http://i7lp.integral7.com/sun
Same here... :-(
I wrote my part 3 on 6th feb and submitted the part 2 on the same day. The wait is still on...
I used Whizlabs simulator for SCEA-1 and I found it to be really good.
Actual questions in the exam were similar to the ones in the simulator.
Hi All,
I am confused between chain of responsibility and decorator pattern in cases when intermediate receivers in chain of responsibililty may also handle the request.(Like in case of servlet filters).

In Chain of Responsibility pattern, receivers are chained and pass any request messages from object to object until it reaches an object capable of handling the message. The intermediate objects "may" (or may not) handle the request message and modify it and pass it on. In decorator, each decorator object will add additional functionality (handle) and pass it on to the next object.
Is the only difference a "safety net" in case of Chain of Responsibility to "catch" any requests which go unhandled.

So how do we differentiate looking at the code, which pattern is being used.
Please correct me if I am wrong in my understanding.

TIA,
- Tinu
There is a question in Whizlabs simulator:

As a part of your new application, you need to connect to a database. You do not have any access to the database server so you can not change the odbc driver that's currently installed. How do you connect?

a) CORBA
b) JMS-JNI
c) JDBC-ODBC bridge
d) JDBC

As per my understanding, the correct answer should be c) as odbc driver is already installed.

Answer as per simulator is d).
Reason: choice c) is not necessary as the question does not say that you can not use a normal JDBC driver.

My question is:
1) out of 4 types of drivers, which is "normal jdbc driver"
2) why is choice d) preferred over choice c)

Please suggest.

Thanks
Hi Sanjeev,
I just downloaded examhouse simulator's trial version and there were questions like

1. Which layer of switching makes no modification of the data packet?
2. ________ is a ongestion vaoidance method that unconditionally drops packets when a queue is full?
3. What are the two ways to configure VLAN memberships?
4. What are the criteria that STP uses to chose a path?
5. Type in command to enable STP on VLAN4
6. Stativ VLANs offer MAC address based memberships.
7. Which of the following functions can a multilayer switch perform?
8. In which of the following STP state, a port can send and receive BPDUs, learn MAC address, and send and receive data?

I am not sure which exam objectives these questions fall into?

Please check and then only buy it.

And if you have already bought, then please share the experience about the rest of the questions.

Thanks
Hi Balaji,
This was in Whizlabs simulator and got it randomly.
Since I have lost the question now, I can not post the complete question now.
However, I'll take care from next time onwards to paste the complete question.

Thanks
There is a question in one of the exam simulators that asks for type of load balancing/ distribution that should be used in an online air tickets shopping system to initially direct users to web servers?

The correct answer as per simulator states round Robin load distribution.
There is another option called Reverse load proxy load balancing.

As per whatever i have read till now, Round Robin is not a load balancing but a load sharing technique.
Reverse load proxy load balancing is a load balancing technique.
Based on this, the answer as per the simulator seems to be incorrect.

Please comment.

TIA,
- Tinu
But even that is not documented anywhere.
And there are substantial differences.
Like in EJB 1.1, BMP was preferred over CMP for performance reasons but EJB 2.0 suggests using CMP.
I have seen a couple of mock exams available online containing related questions.

Can anyone who took exam recently please comment on this.

TIA,
- Tinu
Hi,
Here is a question from Epractize mock exam.

ATMEJB has a method withdrawal() with required transaction attribute and is calling AccountEJB method getAmount(). At the same time, ChequeProcessorSessionEJB is calling getAmount() method of AccountEJB without any transaction context.

The alogorithm for getAmount() is to deduct the amount from account balance, calculate interest, update history and return the requested amount to the caller.

Question : What best describes the AccountEJB component?

Answers:
a) AccountEJB should be stateless seesion EJB with RequiresNew transaction attribute for getAmount()
b) AccountEJB should be implemented as BMP with Required transaction attribute for getAmount()
c) AccountEJB should be implemented as CMP with Supports transaction attribute for getAmount()
d) AccountEJB should be implemented as CMP with RequiresNew transaction attribute for getAmount()

The correct answer mentioned is d)

But I am not convinced with RequiresNew transaction attribute for getAmount() as if getAmount() method is executed successfully but withdrawal() method fails, still the amount will be deducted from customer's account.

In my understanding Required should be the transaction attribute, but i don't see any need for BMP here.

Please comment.

TIA,
- Tinu
Hi All,
Does EJB home interface uses Factory Pattern Or Abstract Factory Pattern?
In my understanding, it is factory pattern as it hides the creation logic from me and returns me a particular object type and not a family of objects.

Please comment.

TIA,
- Tinu