Bernard Adanlessossi

Greenhorn
+ Follow
since Oct 05, 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 Bernard Adanlessossi

The referenced column in your annotation may be missing... try this
@JoinColumn(name="ADDRESS_ID" referencedColumnName="ID")
where ADDRESS_ID is the foreign key of the address table and ID the address_id in the address table itself.
Bernard.
How did you map the Customer entity in the Address class?
Hi Kumar,
You might need to add the @Column(name="HAS_GOOD_CREDIT") annotation to your setter field... may be...

Bernard
(Also preparing for it!)
Hi Pawan!
It's a good thing starting learning SCBCD exam using HF Books... But... Objectives have changed and there is no such HF Book* covering the new objectives.
Why do you want to try the hard way using the 2.1 specifications covered by HFEJB? There are other books out there.

* Some books covering the new objectives
- Maning EJB 3 in Action
- Pro EJB 3
- ejb 3.0 specs...

Good luck in your preps...

Bernard
(Also preparing for it!)



Originally posted by Pawan preet:
Hi Everyone,

I am new to EJBs so started with EJB2.0
I am doing study of EJB 2.0 from HF EJB book and hence run the ch-1 example (AdviceBean) on J2EE RI server. I have query regarding that.

I have also read ch-2 of same book, but could not get that what thing is on the server side that communicate with home and component interface stubs (as in RMI we have skelton).

Client class files
- Client jar classes
- Home interface class file
- Component Remote Interface class file
- Home stub class file
- Component Remote Interface stub class file


Server side ejb jar: classes and DD
- EJB Bean (suppose SessionBean) class
- Home interface class file
- Component Remote Interface class file
- Home and Component Remote interface implemented classes which are actual source for creating the stubs (home and remote).
- ejb-jar.xml


So my question is : i have seen that the server side jar (C:\j2sdkee1.3.1\repository\delpagand\applications) that is deployed has also home and remote stubs, which i think should only be on the side of client jar.

Also one more query that create client jar has all the required things in addition to EJB Bean class also that i think, is not required.

Please confirm.

Originally posted by Pawan preet:
Hi Everyone,

I am new to EJBs so started with EJB2.0
I am doing study of EJB 2.0 from HF EJB book and hence run the ch-1 example (AdviceBean) on J2EE RI server. I have query regarding that.

I have also read ch-2 of same book, but could not get that what thing is on the server side that communicate with home and component interface stubs (as in RMI we have skelton).

Client class files
- Client jar classes
- Home interface class file
- Component Remote Interface class file
- Home stub class file
- Component Remote Interface stub class file


Server side ejb jar: classes and DD
- EJB Bean (suppose SessionBean) class
- Home interface class file
- Component Remote Interface class file
- Home and Component Remote interface implemented classes which are actual source for creating the stubs (home and remote).
- ejb-jar.xml


So my question is : i have seen that the server side jar (C:\j2sdkee1.3.1\repository\delpagand\applications) that is deployed has also home and remote stubs, which i think should only be on the side of client jar.

Also one more query that create client jar has all the required things in addition to EJB Bean class also that i think, is not required.

Please confirm.

I cleared the SCEA Part I exam this morning... duh!!!
Haven't got enough time for thoroughly studying all topics... At least am happy I've got it! Yeah Baby!...

"Yeah! Another tatoo on my Back"...
SCJP, SCWCD, SCEA I
I passed scwcd yesterday with 76% javascript: x()
jumpingjoy Thanks the H. Deshmukh and Jignesh study kit, my own hardworking on writing cod for servlets and jsp, and of course all javaranch cowboys..
Thank you all..
Now I want make some vacation, drink a couple of beer javascript: x()
beerchug and come back by september for the next step... Architect skills...
So long men...javascript: x()
nono
20 years ago
Thanks all! I passed SCJP 1.4 yesterday with 57 %.
I want to thank you all, especially Javaranch participants, Marcus Green, "Tuff" Dan and to all!!
Please don't reply "Nice shot Jahva!" but what do you think about this score???
21 years ago