Originally posted by Andrew Perepelytsya:
I suppose, you cannot even guarantee the consistent behaviour when MAX pool size is reached. Some containers may stretch the limit a bit, some (most, I would say) will serialize the access to the beans.
Let's say, what happens if we have MAX set to 2 for SFSB, and there is a third and fourth incoming client connection? Should the container throw the RemoteException? Doubtful.
Originally posted by Andrew Perepelytsya:
JDBC extensions (of which DataSource is, perhaps, the most renowned) was a must since EJB 1.1. Please, consult the specification, section C.2.5, page 542.
I think the way it is stated in the answers (never 'add' anything from yourself on the exam, you know it), involves a bit more than just dirty reads problem. While the behaviour you described may be compulsory, it tells us about transactional behaviour, and not memory management improvements (optional).
Originally posted by Bert Bates:
A little practice:
(Remember, this won't be an open-book test.)
1 Which two are guaranteed capabilities of EJB 2.0?
a). Local home interfaces for messages driven beans.
b). Dirty detection mechanisms to reduce memory footprints.
c). Run-as security identity functionality.
d). The JDBC 2.0 extension.
e). Read only CMP entity beans.
2 Which API is NOT guaranteed to be supported by EJB 2.0 containers?
3 When programming business methods, which technique should be avoided to ensure bean portability across all EJB 2.0 containers?
a). Using the java.net.Socket class.
b). Using inner classes.
c). Using the 'final' modifier for fields.
d). Passing 'this' as an argument.
4 Which two are typically responsible for creating ejb-jar files? (Choose two.)
a). The bean provider.
b). The application assembler.
c). The deployer.
d). The system administrator.
5 Which two must be included in every ejb-jar file? (Choose two.)
a). Stubs for the EJBHome and EJBObject interface.
b). The JAR Manifest file.
c). A deployment descriptor.
d). The JNDI context.
e). The EJB's home interface.
Originally posted by ssachu:
Hi all ,
Need expert comments!
i have to define architecture for one of my project .
oracle database distributed geographically .
requirement is to access these distributed db on WAN and process data for generating report for user .
q: do i need to consider one weblogic server in each station
q: rmi iiop is better or Soap on http is better ?
q: RMI is possible ?
performance and database access will be a bottleneck if architecture not defined well .
so pls share ur ideas and experiences and documents !!
Originally posted by Seid Myadiyev:
First of all thank you for the SCEA@Whiz mock exam! I learnt many important points for the actual exam and I feel better and better prepared with each day!
So in this question what exactly is being asked of me:
1. Is it good idea to use DAO with Stateful Session Beans
2. Is it good idea to access data from Stateful Session Beans
Thank you for your clarification!
Originally posted by Gabriel Fox:
If an enterprise web application has some of its sub systems fully implemented . What questions
should be considered when thinking of extending the functionality of the System by adding(plugging) a subsystem.
Please , all ideas are welcomed ...
Originally posted by Mila Donkova:
I don't think SCEA certification loses its prestige.
I am ashamed to say I am doing my project more than 6 months already but I am getting new knowledges every day and it makes me happy. When I started the project I thougth it would take not more than 2-3 weeks to finish it.
All this time I followed this forum discussions. I really enjoyed your and Gennady Shapiro threads and found that you are very smart and competent individual. I think your OOAD knowledge and experience deserve the highest mark as well as your writing and polemic skills. Starting your
own business is very doubtful thing. Wasting time waiting while someone entrust you really great project is difficult for you too.
Do what you really like!
I would suggest to become some of the guys who writes the books for us like Mr. Fowler, Mr. Ambler, or Mr. Cade.
I feel you could succeed on this field.
Originally posted by Byron Estes:
Converstational state between request/responses is not maintained, but a socket connection is established between the client and the server for communication.
Therefore it is connection based, but conversationally stateless.
Does anyone use this
feature for their final html documentation and yet pass the exam ?
I understand that we need to generate in general the following uml
1 x class diagram
1 x component diagram
4 x sequence diagram (since 4 use cases)
I would like the level of details required for each diagram.
Do we need to show the following ?
1) EJB home, remote and implementation bean class
2) Show any class method/attribute ? (I think instruction say
3) Show any kind of design pattern, like Observer, proxy , delegation
4) Show JSP, Servlet implemention class ? and how they linked
5) Can we show UI implementation package instead of class ? Since
there may a lot of class for UI, showing package encapsulate those
6) How to we model the transmaster API,Do we just show this
transmaster as a class or a package ?? Though I think package is a
7) How do the transmaster API spec affected the architecture ??
FBN has a frequent flyer mileage system that has a web interface
bind by Perl, html, cgi and oracle database that is not accessible
to travel agent and customer. Does that imply the system is using a
Does all travel agents reside in FBN single building only ? Or that
FBN travel agent is scattered around the country but each of them
are given a 3270 terminal to hook up with information system of
FBN ? and given a pc running a graphical browser to access mileage
What is exactly itinerary stand for ?
The assignment mention that Transmaster has commited to have their
site available 99.99%. What does it mean by 'their site' ??
I though what they have is just API not website where they process
credit card ??
5) The following question is derived from the business domain model.
How does a customer related to itinerary ?
and what exactly is segment ? and its
relationship with flight ?
How is it that equipment is linked with the seats
Thank for your attention...[/QB]
Originally posted by Rufus Bugleweed:
I agree with you. DAO is to decouple the application from the data source.
One problem I could see would be the stateful bean holding a reference to the DAO. That's a memory leak isn't it?