A wise old hermit known only as <[EMAIL PROTECTED]> once said: > Anyway I hoped to get the solution to my problem with the > @ejb.interface tag (what didn't solve it) then later I discovered the > @ejb.home tag. The desc. of both tags are quite similar, and it is not > easy to make a difference between both of them. I would appreciate some > help concerning this issue...
Simple: @ejb.interface is used for the remote (and, from EJB 2.0, local) interface methods. @ejb.home is used for home & local home interface methods. Home methods were only introduced with EJB 2.0, and only apply to entity EJBs. > I allow myself to paste my code on this mail in the expectance to get > some suggestions about improving it. ... > /** > * > * @ejb.bean > * name="ejb/EBbPerson" > * diplay-name="Person bean" > * jndi-name="ejb/Person" > * description="Bean managed Entity Bean" > * type="BMP" > * prim-keyfield="m_Login" > * generate="true" > * view-type="both" ... > * @jboss.cmp-field > * field-name="m_FirstName" > * column-name="firstname" > * > * @jboss.cmp-field > * field-name="m_LastName" > * column-name="lastname" > * > * @jboss.cmp-field > * field-name="m_Password" > * column-name="password" > * > * @jboss.cmp-field > * field-name="m_Login" > * column-name="login" > * > * @jboss.create-table="false" > * @jboss.remove-table="false" > * @jboss.table-name="tbl_person" > * > * @ejb.finder > * signature="java.lang.String findByLogin(String p_Login)" > * > * @jboss.finder-query > * name="findByLogin" > * query="login = ?" > * read-ahead="no" Why are you specifying CMP fields & finder stuff in the class-level tags, if it's a BMP bean? Andrew. ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
