Alessandro Gentile

Greenhorn
+ Follow
since Jul 27, 2010
Alessandro likes ...
Eclipse IDE Fedora
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 Alessandro Gentile

Hi Joe, I've just made a fool of myself!!
I was misled by the previous post where this whole matter is presented as an "issue".
I confess my utter ignorance. Struts2 has a steep learning curve, there's a lot to read!
Thanks for your advice!!!
4 years ago
With Struts 2.3.15 still the same issue.
Your workaround works fine. Thanks Santhosh!!!
4 years ago
Thank for your reply, Tim.
Hi guys,

I've read several articles on this subject and I don't want to arouse controversies, but if I had to design a complex web application with a fair amount of transactions per day (let's say 5.000) should I choose JEE or Spring or both? My friends in the UK say that nobody uses JEE any more and that I should move on to Spring. In my personal experience I found that the use of both Spring and application servers is messy because you spend too much time to set up a development environment properly. Do you really think that JEE is dead?
Hi guys,
I totally agree with you: RMI causes problems. But do you think webservices or xml over http are a fit replacement even from the performance point of view??
6 years ago
I've got two different instances of GlassFish (3.1.2) on two different jvms on two different nodes in a LAN. From an EJB I'm calling a remote EJB.
I bound, through glassfish admin console, orb-listener-1 to the Network address on both machines. Firewalls disabled

Here's the code:
ic = new InitialContext();
BankService bankservice = (BankService) ic.lookup("java:comp/env/ejb/BankServiceBean");

Here's the descriptor(glassfish-ejb-jar.xml):
<ejb-ref>
<ejb-ref-name>BankServiceBean</ejb-ref-name>
<jndi-name>corbaname:iiop@192.168.0.4:3700#java:global/ServerEAR/ServerEjb/BankServiceBean</jndi-name>
</ejb-ref>
I tried also with <jndi-name>corbaname:iiop@192.168.0.4:3700#ServerEAR/ServerEjb/BankServiceBean</jndi-name>


Here's the error I get:
WARNING: This bean [CallEjbBean] has no ejb reference by the name of [BankServiceBean]
SEVERE: DPL8006: get/add descriptor failure : ejb-ref TO BankServiceBean
WARNING: DPL8007: Unsupported deployment descriptors element jndi-name value corbaname:iiop@192.168.0.4:3700#java:global/ServerEAR/ServerEjb/BankServiceBean
SEVERE: javax.naming.NamingException: Lookup failed for 'java:comp/env/ejb/BankServiceBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: No object bound to name java:comp/env/ejb/BankServiceBean]

Where did I go wrong???

Any suggestion highly appreciated

Regards
Alessandro
6 years ago
Hi guys
I've just received an email from Oracle saying I've passed. This forum helped me a lot in this challenging deed !!! The main recommendation (may sound trivial...) to the people who want to get certified is to study a lot and work hard. As for part 1, books suggested in this forum are great (Wiley Mastering Enterprise Java Beans, EJB, 3.0 is one of the best) as for part 2 I'd like to thank and quote a greenhorn of this forum Samuel Rizzo who gave me in this post here this good advice:"My advice is that you don't try to work with something you can't really understand. Make your assumptions. Document. Focus on the final solution." As for part 3 just try to write down how you achieve better security, performance, scalability, availability, manageability, extensibility, maintainability, reliability in your design. Thanks to all this site's staff, keep up the excellent work. It is important there's a place where people can share their knowledge.
7 years ago
Hi Samuel,
I'm so happy to hear from you. Tonight i couldn't sleep thinking about the one-to-many relationship between minutes/data/texts and MonthlyUsage. My assumption is that a MonthlyUsage is an aggregation of consumption events (data, minutes, texts). This assumption is not based on any technology, it's just common sense. Thanks a lot for your reply, you really helped me.
Thanks for your advice Teja, you helped clearing my mind
Hi Teja
Thanks for your reply. After days of reflection I've drawn my conclusions. I think that Sun's business domain model is a coarse grained design (class diagram) of entities involved: there are only main entities depicted. I 'll try not to miss any requirement and relationships between them but my final design (class diagram) will be a little more complex than the Sun's one. The DB structure, too will be a little different. I'll try too not to add somethings that is not specifically required. Please tell me if i'm wrong!!! Any suggestion will be greatly appreciated....
Hi Samuel
I have to face the same assignment and i feel the same way about this. The business domain model is skimpy and entities relationships are, at best, arguable....