-
1. Re: Ejb 2.0 Local Interface Support in Jboss??
chhavi Oct 30, 2001 10:26 AM (in response to sam33r)Abe tu yahan kya kar raha hai .
-
2. Re: Ejb 2.0 Local Interface Support in Jboss??
hraun Oct 31, 2001 2:55 AM (in response to sam33r)Chhavi ji,
Anuvad Kijie! Ham log Hindi(urdu?) nahi ate hai. (Ya ham dhire dhire sikh raha hai) :-D
Otherwise chaos will ensue!
Cheers -
3. Re: Ejb 2.0 Local Interface Support in Jboss??
hraun Oct 31, 2001 6:43 AM (in response to sam33r)BTW,
I did a search for "local interfaces" & found the answer:
no.
2.4.x doesn't support local interfaces.
Peet -
4. Re: Ejb 2.0 Local Interface Support in Jboss??
christoph Oct 31, 2001 9:00 AM (in response to sam33r)I am using 2.4.1 here, and I can use local interfaces (have played around a little bit with them and not yet found a problem).
Christoph -
5. Re: Ejb 2.0 Local Interface Support in Jboss??
tittoassini Dec 10, 2001 8:58 AM (in response to sam33r)Could you provide an example of an ejb-jar.xml and jboss.xml file with definitions of local interfaces?
Many thanks -
6. Re: Ejb 2.0 Local Interface Support in Jboss??
christoph Dec 10, 2001 9:45 AM (in response to sam33r)> Could you provide an example of an ejb-jar.xml and
> jboss.xml file with definitions of local interfaces?
Ok, here is a part of my ejb-jar.xml:
[pre]
...
EJB to handle user data
<display-name>UserBean</display-name>
<ejb-name>UserBean</ejb-name>
com.foo.user.UserHome
com.foo.user.User
<local-home>com.foo.user.UserLocalHome</local-home>
com.foo.user.UserLocal
<ejb-class>com.foo.user.UserEJB</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.Integer</prim-key-class>
False
<cmp-field>
a unique numerical id
<field-name>id</field-name>
</cmp-field>
<cmp-field>
the user's name
<field-name>name</field-name>
</cmp-field>
<cmp-field>
the user's userID (used forl ogin)
<field-name>userID</field-name>
</cmp-field>
<cmp-field>
the user's password
<field-name>password</field-name>
</cmp-field>
<primkey-field>id</primkey-field>
<ejb-local-ref>
<ejb-ref-name>ejb/KeyFinderLocalBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.foo.user.KeyFinderLocalHome</local-home>
com.foo.user.KeyFinderLocal
<ejb-link>KeyFinderBean</ejb-link>
</ejb-local-ref>
...
[/pre]
Note the local reference to KeyFinderBean (in a <ejb-local-ref> instead of <ejb-ref> for remote interfaces).
In my jboss.xml file, I did not have to change anything:
[pre]
...
<ejb-name>UserBean</ejb-name>
<jndi-name>foo/user/UserBean</jndi-name>
...
[/pre]
Hope that helps,
Christoph -
7. Re: Ejb 2.0 Local Interface Support in Jboss??
marc.fleury Dec 10, 2001 10:14 AM (in response to sam33r)> BTW,
> I did a search for "local interfaces" & found the
> answer:
> no.
> 2.4.x doesn't support local interfaces.
Don't rely on the free documentation it is out of date, the skinny is yes we implement local interfaces in 2.4.x
marcf -
8. Re: Ejb 2.0 Local Interface Support in Jboss??
kubokushi Dec 27, 2001 3:26 PM (in response to sam33r)Mark
Can you please point me to the JBoss documentation where it explains the Local Interface exists for JBoss 2.4.x and higher.
Thanks
KK -
9. Re: Ejb 2.0 Local Interface Support in Jboss??
armint Dec 28, 2001 2:43 AM (in response to sam33r)You should buy the documentation at http://www.flashline.com/components/productsbyvendor.jsp?&vendorid=1376&affiliateid=260343. Very inexpensive and well worth it. The CMP2.0 docs discuss local interfaces. While the JBoss server documentation only mentions local interfaces in a few spots, you should get it also, as it details the various server components.
-
10. I want to buy it
ipozeng Dec 28, 2001 7:11 PM (in response to sam33r)I am a Chinese.I love JBoss very much however i cannot find any books about JBoss in China.
Many Chinese programmer know English very well So the JBoss documentations transalted into Chinese are not necessary.English version is OK !
Call you help me to buy any jboss relative docs? i have no credit card :(
Thanks in advance!
ipo_z@cmmail.com