On 2003.02.21 15:13 Jonathan Carlson wrote:
> Thanks for your reply.
>
> I think you are referring to the @jboss.method-attributes
> read-only="true" tag/parameter that goes on each read-only method,
> however that tag <method-attributes> is only allowed in the
> jboss_3_1.dtd.
>
> I only found that because the JBoss 3.0 Admin book is wrong. The
> "Explicitly Defining Read-Only Methods" section says that those
> <method-attributes> tags can go inside the <entity> tag in 3.0, but the
> 3.0 DTD doesn't allow them.
>
> Argh! Is 3.2 stable enough for me to use in development?
definitely. The xdoclet support for the new tags may still have problems,
but jboss 3.2 is near to release. (I'd use a cvs copy because I fixed a
couple of problems right after RC2)
david jencks
>
> Jonathan
>
>
> >>> [EMAIL PROTECTED] 02/21/03 12:24PM >>>
> I think you can specify this on the cmp field with a tag. The xtag file
> may not mention this: it certainly doesn't include the jb 3.2 features I
> added yesterday to the .xdt
>
> cmp field level read-only goes in the jbosscmp-jdbc.xml file. Only
> whole-ejb read-only can be specified in jboss.xml (and I'm not 100% sure
> it
> is still supported).
>
> david jencks
>
> On 2003.02.21 13:12 Jonathan Carlson wrote:
> > I'm still rather new to JBoss, but I think the best way to do this is
> > instead to tell JBoss which methods are read-only in the jboss.xml file
> > so those methods get a read lock instead of a write lock.
> >
> > However, I'm having trouble getting that info merged into my jboss.xml
> > file.
> >
> > The merge point is jboss-{0}.xml and my entity bean class is
> > DomainBean.java so I created a jboss-DomainBean.xml but it's not
> getting
> > pulled in. Am I doing something wrong?
> >
> > Thanks in advance,
> >
> > Jonathan Carlson
> > Minneapolis, Minnesota
> >
> >
> >
> > >>> [EMAIL PROTECTED] 02/17/03 04:30PM >>>
> > Could anyone suggest a solution to the following problem. I'm trying to
> > find
> > the simplest and lowest maintenance way of sub-classing an entity bean
> in
> > order to produce a read-only version (using the @jboss.read-only tag)
> of
> > the
> > exactly the same bean. The read-only version should have exactly the
> same
> > methods on the local and localhome interface and use the same table for
> > persistence. I've tried various combinations of tags with varying
> degrees
> > of
> > success but I've yet to achieve a combination which doesn't involve
> > maintaining tags or code in both classes. Can anyone help?
> >
> > Thanks,
> > Matt.
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
> >
> >
> > **********************************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> > **********************************************************************
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
> > The most comprehensive and flexible code editor you can use.
> > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
> > www.slickedit.com/sourceforge
> > _______________________________________________
> > xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
> >
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
> The most comprehensive and flexible code editor you can use.
> Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
> www.slickedit.com/sourceforge
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
> The most comprehensive and flexible code editor you can use.
> Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
> www.slickedit.com/sourceforge
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user