Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Jaime Bravo

Greenhorn
+ Follow
since Jun 10, 2011
Jaime likes ...
jQuery Spring Notepad
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 Jaime Bravo

thanks arulk!!!...
8 years ago
In pearson, download the pdf for the result of Java Enterprise Edition 5 Enterprise Architect Certified Master Downloadable Project ...the score is there. Essay seems to be approved in such report too..
regards and congrats too!!!
8 years ago
hey java lovers i'm really happy about this...i was more and less 1,5 years studying for this cert and in the way I also got certified in programmer, web component developer and bussiness component developer. It's by far the more exciting study experience in my life...and i'll continue with developments and more certs. This is really fun!!!
the learning experience is wonderful.
In my opinion, lots of people live only around emotions and forget the other side of their brains. It's sad but they loose this amazing oportunity.
regards!!!
8 years ago
hahahaha you probably are the only one thinking about using a stateful bean as service facade basically, they are not so scalables like the stateless ones are, mainly by the instance pooling facility in the last ones

So what you are saying Jaime, Session Bean(service) ===> Stateless Session Bean(DAO) ===> JPA ?



yes that is the idea. The DAO tier hides the data access mechanism, in this case JPA but it also could be JDBC, iBatis, Hibernate, flat file or JNDI/LDAP and so. There's nothing new about this, i'm only applying core j2ee patterns

Is this applicable if the Session Bean(service) is Stateful ?



There's no point to use a stateful EJB because the DAO bean is to be used as a facade for the entity managers and entity classes, in this case of JPA use. It's not a component intended to be a client extension like the stateful beans are.

Is there really a need for the DAO layer at all ?



Of course, you could require to change internal representation from JPA to Hibernate or to make part of it based on JDBC or to include other data sources like LDAP. Or still better you could provide mock implementation for DAO facades to facilitate the parallel development between the DAO tier and another tiers with dependencies to it. Not to use DAO means to create dependencies to persistence mechanism within tiers not requiring to know about that, hurting the low coupling.

regards!
It seems like the 'commons upload' library is not in the classplath or a version conflict prevents it works. So that dependency is causing problems to the autowire facility in your spring app.
regards!
9 years ago
thanks for your solidarity with me and congrats to you too ;)
Second part is very interesting!!!
regards!!!
9 years ago
i found it really ambiguous but well, the work is done. Now to get the assignment!!!
regards!
9 years ago
wow....very nice new for me...well congrats!!!
thank you for your help!!!
let's talk later
thank a lot...wow so the second part could take about 3 o 4 weeks to finish...nice
please let's me know how long they take to give you the pass for the essay?
good luck to you too!!
hello Gabor:

Tomorrow i'll take the first part of architect's exam and if everything goes well, then i'll try to get the assignment as soon as possible...if you like we can talk about how to go through the second part.

Anyway about the use of patterns, you can use the notation of 'collaboration' (UML distilled) and also that book provides good guidelines about use UML.

About security: the chapter about security from cade-sheil book says something about 'security model'. Take a look there ;)
At this respect i'm in similar situation like the yours.

I think architect is all about focus in general desing respect to infrastucture, cross-cutting concerns, QoS or NFR from where developers can build the app in a secure way and with warranties for QoS. So a more detailed design is better coming from a senior developer on top the designs, guidelines and plans provided by the architect.

regards!
Thank you sathees ...good resource!!
regards
ups...sorry i'm a stupid. I didn't see that option...really sorry
anyway thank
regards!
9 years ago