User: starksm
Date: 01/04/10 16:15:09
Modified: src/docs cmp.xml
Log:
Remove the stuff about the abstract qualifier requirement.
Revision Changes Path
1.5 +11 -24 manual/src/docs/cmp.xml
Index: cmp.xml
===================================================================
RCS file: /cvsroot/jboss/manual/src/docs/cmp.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- cmp.xml 2001/03/30 02:30:43 1.4
+++ cmp.xml 2001/04/10 23:15:09 1.5
@@ -207,52 +207,52 @@
/**
Get CD title
*/
-public abstract String getTitle() throws RemoteException;
+public String getTitle() throws RemoteException;
/**
Set CD title
*/
-public abstract void setTitle(String title) throws RemoteException;
+public void setTitle(String title) throws RemoteException;
/**
Set CD ID code
*/
-public abstract String getId() throws RemoteException;
+public String getId() throws RemoteException;
/**
Get CD ID code
*/
-public abstract void setId(String id) throws RemoteException;
+public void setId(String id) throws RemoteException;
/**
Get artist
*/
-public abstract String getArtist() throws RemoteException;
+public String getArtist() throws RemoteException;
/**
Set artist
*/
-public abstract void setArtist(String artist) throws RemoteException;
+public void setArtist(String artist) throws RemoteException;
/**
Get type (rock, classical, chamber music, etc)
*/
-public abstract String getType() throws RemoteException;
+public String getType() throws RemoteException;
/**
Set type
*/
-public abstract void setType(String type) throws RemoteException;
+public void setType(String type) throws RemoteException;
/**
Get notes (comments, not musical notes!)
*/
-public abstract String getNotes() throws RemoteException;
+public String getNotes() throws RemoteException;
/**
Set notes
*/
-public abstract void setNotes(String type) throws RemoteException;
+public void setNotes(String type) throws RemoteException;
}</programlisting>
</para>
<para>
@@ -266,19 +266,6 @@
follows: </para>
<programlisting>String getX();
void setX(String);</programlisting>
- <para>Note also that JBoss requires that these methods are declared as
`abstract'
-when using CMP.
-It does not matter for session Beans, and some EJB server aren't fussy (e.g.,
-Sun J2EE), but
-with CMP in JBoss you need to say `abstract'. Failure to do so will result in
-the following
-error message during deployment:</para>
- <literallayout>
- <computeroutput>[Container factory]
org.jboss.ejb.DeploymentException: Could not find matching
-method for public abstract java.lang.String somepackage.getSomeField()
-throws java.rmi.RemoteException, Cause:java.lang.NoSuchMethodException:
-getSomeField()</computeroutput>
- </literallayout>
<para>CDHome.java: home interface for the `CD' Bean</para>
<programlisting>package com.web_tomorrow.cd;
@@ -829,4 +816,4 @@
</section>
</section>
</section>
-</chapter>
\ No newline at end of file
+</chapter>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development