Re: [Xdoclet-user] xdoclet for JUnit?

2001-10-13 Thread Konstantin Priblouda


--- Michael Larionov [EMAIL PROTECTED]
wrote:
 Hi ,
 
 I am just wondering if someone is developing xdoclet
 for JUnit test cases.

At the moment I'm unaware of such development. But it
sounds interesting ( theoretically )

XDoclet is a tool to generate some files based on 
single java source using straightforward ( and well
defined ) patterns. 

But you still have to write logic yourself - how cat
it be applied to writing tests?

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Is writing a completely portable J2EE app possible with xdoclet?

2002-01-18 Thread Konstantin Priblouda


 I looked at the samples that come with xDoclet and
 was rather disappointed as they are written
 specifically for JBoss.  Tell me if I've missed
 something, that's only good news for me :)
 
 So here's my concrete question: Has somebody tried
 this samples on another appserver, specifically on
 BEA WebLogic?
 If not, does anybody have another working xDoclet
 sample that contains all necessary tags for both
 JBoss and WebLogic?

There is subtask for weblogic, which would generate
weblogic-specific descriptors for you.

( it's even called weblogic AFAIK, though I'm using
jboss only )

look at the docs. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] OFF: Get Together?

2002-04-15 Thread Konstantin Priblouda



 Nice idea, but Wiesbaden is still to far from me. 
 But I really wonder if any of the other developers
 has an idea what
 Abbelwoi is ;-)))

Oh well, those developers who are not so far away from
frankfurt would certainly know what is it :)

And others living far away might get interested, and
choose to join us :)

As I work in Frankfurt / Darmstadt now, 
Mainz, Frankfurt, Wiesbaden, Darmstadt are all
acceptable choices. 
Heidelberg/Mannhaim could also be considered. 

But since a lot of EJB development occurs in 
Banking area, Frankfurt  around seems to be
reasonable choice. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



[Xdoclet-user] RE: XDocletGUI feedback

2002-10-15 Thread Konstantin Priblouda

 I'm trying to play with xdocletgui (standalone), and
 have come across a 
 number of issues:
 
 - The run.sh script doesnt work under OSX. See ant's
 script to see what 
 needs to be set in order to get it to run there,
 it's very 
 straightforward

Will look to this issue. But if you cvould provide a
patch for OSX, it would be cool. I do not have any
macs around...

 - In my project, my ejb source classes extend a
 class which is present 
 in a jar file in binary only form. However, xjavadoc
 doesn't seem to 
 pick this up (or notice) even if I try to include
 that jar in 
 xdocletgui's classpath when starting it up. Is there
 a way currently of 
 defining a classpath (or sourcepath) for xdocletgui
 to use, rather than 
 just the current top level dir of a sourceset?

XJavadoc tries to resolve binary classes. However, 
if you have several import statements, it may fail in
this task. There was diskucssion yesterday about
why do we need to use FQCNs. 


 - Would be nice if xdocletgui would remember the
 last directory/project 
 opened and its window location/size. I can submit a
 patch if nobody 
 else feels like writing this code.

Your patch is welcome.

 - Finally, are there any docs/usage
 notes/design/future direction notes 
 for xdocletgui?

There are generated docs. Just do ant dist


regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com


---
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



Re: [Xdoclet-user] EJB Security

2002-10-23 Thread Konstantin Priblouda

--- [EMAIL PROTECTED] wrote:
 Hello all,
 
 After blundering around in the darkness I am now
 doing the sensible thing
 and asking for help.
 
 I am trying to implement through XDoclet 1.2 tags
 security on methods on my
 beans that allow only certain roles to access them.
 Could some kind sole
 explain the correct tags I should use? and in what
 order. I am deploying to
 JBoss 3.0.3.

You can use:
@ejb:permission role-name=foo,bar,baz
( or just unchecked=true ) 
on both class and method level
( on class level applies everywhere, method overrides
class setting )

Additionally, you can specify role-name=foo,bar,baz
or unchecked on: @ejb.pk , and all finder tags

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



RE: [Xdoclet-user] EJB Security

2002-10-23 Thread Konstantin Priblouda

--- [EMAIL PROTECTED] wrote:
 That's what I thought, but this does not seem to
 work. The container still
 allows the method to be executed. Is there something
 else I have missed?
 
 Thanks again.

In case you need electric light, you shall swith it
on.
The same is with security which is disable by default
in JBoss.

Basically, you have to specify your security domain in
your application ( jboss.xml ). If you do not, all
your beans go into other application policy, and you
have to configure it
in jboss confs.

File is:
server/default/conf/login-config.xml

Here are my configs:
( jboss.xml )
jboss
  secureTrue/secure
  security-domainjava:/jaas/ukw/security-domain
  container-configurations
  /container-configurations
/jboss

login-config.xml:
application-policy name = ukw
   !-- 
security policy for ukw
application
   --
   authentication
  login-module code =
org.jboss.security.auth.spi.UsersRolesLoginModul 
   flag = required
 module-option name =
unauthenticatedIdentitynobody 
/login-module
   /authentication
/application-policy


You do not mind me to spare properties files with my
actual user passwords and roles?

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] How to make an ejb-ref to an ejb in another deployment descriptor

2002-10-18 Thread Konstantin Priblouda

--- Christian Surlykke [EMAIL PROTECTED] wrote:
 Hi
 
 I'm running latest release of XDoclet, and I'm
 having trouble with 
 ejb-local-ref's between ejb-modules.
 
 Short version:
 
 The ejb 2.0 specification allows the something like
 this in an deployment 
 descriptor:
 
 ejb-local-ref
   ...
   ejb-linkpath/to/ejb.jar#ejbname/ejb-link
 /ejb-local-ref
 
 - as long as the reference is within one .ear file.
 How can one produce the 
 above using XDoclet?
 
 -
 
 Long version:
 Lets say we're making an application containing two
 ejb modules, mod1 and 
 mod2. Mod1 contains a session bean, S1 and mod2
 contains a session bean S2. 
 
 - so the .ear file looks like this:
 
 app.ear:
   mod1.jar
   mod2.jar
   META-INF/
  MANIFEST.MF
  application.xml
  
 mod1.jar looks like:
 
 mod1.jar
   META-INF/
  ejb-jar.xml
   S1Home.class
   S1Remote.class
   S1LocalHome.class
   S1Local.class
   
 and mod2.jar looks like:
 
 mod2.jar
   META-INF/
  ejb-jar.xml
   S2Home.class
   S2Remote.class
   S2LocalHome.class
   S2Local.class
 
 Now, according to the ejb 2.0 spec (as I understand
 it) it should be possible 
 for S1 to access S2, provided the ejb-jar.xml of
 mod1.jar contains something 
 like:
 
 session 
   ejb-nameS1/ejb-name
   ...
 
   ejb-local-ref 
 ejb-ref-nameejb/S2/ejb-ref-name
 ejb-ref-typeSession/ejb-ref-type
 local-homeS2LocalHome/local-home
 localS2Local/local
 ejb-linkmod2.jar#Operator/ejb-link
   /ejb-local-ref
   ... 
 /session
 
 How is that done with Xdoclet?
 
  If one tries (naively) to put this in S1.java:
 /**
 *
 ...
 * @ejb:ejb-ref  ejb-name=mod2.jar#S2 
 view-type=local  ref-name=ejb/S2
 ...
 */ ,
 
 XDoclet will complain that it does not know the ejb
 'mod2.jar#S2'. (XDoclet 
 can only write one deployment descriptor at the
 time, and while generating 
 module 1 it  knows nothing about module 2)

Ever tried to use ejb.external-ref?
This is more appropriate tag for such tasks...

 * @ejb.ejb-external-ref   view-type=remote
link=Sequence
 *  ref-name=ejb/Sequence type=Entity
 * 
home=com.ukw.sequence.interfaces.SequenceHome
 * 
business=com.ukw.sequence.interfaces.Sequence


regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com


---
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



Re: [Xdoclet-user] using a EJB superclass

2002-10-29 Thread Konstantin Priblouda

--- Emerson_Cargnin_-_SICREDI_Serviços
[EMAIL PROTECTED] wrote:
 How i tell xdoclet i'm using a superclass with
 xdoclet tags and standart 
 methods (like an adapter)? it's not getting the
 creates methods, but it 
 gets the get/setOid...

Could you please be somehow more specific?
What do you like to achieve?

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
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



Re: [Xdoclet-user] EJB inheritance / generated PK and Data

2002-10-29 Thread Konstantin Priblouda
fixed in CVS, check whether it works for you.

regards,
--- Sebastien BLANC [EMAIL PROTECTED]
wrote:
 Hello !
 
 having EJB A class with a composite ScopedAid
 primary key, I specify the
 following in A:
 
 * @ejb:pk

class=com.alcatel.gem.ejb.tl1.entity.interfaces.ScopedAid
 
 and the relevant * @ejb:pk-field (s)
 
 I get the correct generated class from xdoclet.
 
 having B class inheriting from A, I specify the
 following:
 
  * @ejb:pk
  *  generate=false
  * 

class=com.alcatel.gem.ejb.tl1.entity.interfaces.ScopedAid
 
 to be able to re-use the same primary key class for
 the inherited beans,
 and get the following compilation error:
 
 [javac]

C:\Data\EJB\generated\ejb-jar-tl1-Equipment\com\alcatel\gem\ejb\tl1\Equipment\interfaces\EQHData.java:55:
 cannot resolve symbol
 [javac] symbol  : class ScopedAid
 [javac] location: class
 com.alcatel.gem.ejb.tl1.Equipment.interfaces.EQHData
 [javac]  ScopedAid pk = new
 ScopedAid(this.getAid(),this.getTid());
 
 becoz the generated BData code is the following:
 
public
 com.alcatel.gem.ejb.tl1.entity.interfaces.ScopedAid
 getPrimaryKey() {
  ScopedAid pk = new
 ScopedAid(this.getAid(),this.getTid());
  return pk;
}
 
 which will only work if A and B were in the same
 package.
 
 let me know if u need me to submit a 'defect/change
 request' to be able
 to get the generation with full prefixation of
 java PK packages or - simpler - having the
 generation of the java import
 specified into @ejb:pk class in the generated Data.
 
 this is applicable to any generation of Data class
 (even A).
 
 thank you.
 
 seb.
 
 
 

---
 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


=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
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



RE: [Xdoclet-user] findAllLocalHome

2002-10-29 Thread Konstantin Priblouda
This sound funny. XDoclet generates correctly
( I'm also use it, also with jboss and have no
problem )

Can you post ejb-jar.xml?

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
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



Re: [Xdoclet-user] EJB inheritance / generated PK and Data

2002-10-29 Thread Konstantin Priblouda

--- Sebastien BLANC [EMAIL PROTECTED]
wrote:
 Konstantin,
 do u confirm I only have the xdoclet module to
 retrieve from CVS for this fix ?
 thanx.
 seb.

Do checkout xdoclet-all, and be happy :)
( and you will get GUI for tagging your files 
also )

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
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



Re: [Xdoclet-user] problems with ejb-refs in web.xml

2002-10-29 Thread Konstantin Priblouda

--- Christopher Lenz [EMAIL PROTECTED] wrote:
 Hi all,
 
 I'm trying to get ejb-ref elements into the web.xml
 descriptor (with 
 XDoclet, of course ;-) ). For that I'm adding
 @ejb.ejb-ref tags to 
 Struts-Action-based classes like this:

I would try @web.ejb-ref
( just looked inside template... )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
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



Re: [Xdoclet-user] problems with ejb-refs in web.xml

2002-10-29 Thread Konstantin Priblouda

--- Christopher Lenz [EMAIL PROTECTED] wrote:
 Konstantin Priblouda wrote:
   --- Christopher Lenz [EMAIL PROTECTED] wrote:
  
  Hi all,
  
  I'm trying to get ejb-ref elements into the
 web.xml
  descriptor (with
  XDoclet, of course ;-) ). For that I'm adding
  @ejb.ejb-ref tags to
  Struts-Action-based classes like this:
  
  
   I would try @web.ejb-ref
   ( just looked inside template... )
 
 Hmm, but then I need to enter all the stuff XDoclet
 should already know 
 about *manually* (home, remote, type).

Not always. There is ejb-ref  ejb-external-ref

EJB-ref is for beans in the same ejb-jar, and external
for outside ones. 

To use ejb-ref, bean in question shall be processed at
the same time as your servlets - and you surely do not
process them together...


 Also, see:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xdoclet/xdoclet/modules/web/module.xml
 which indicates that using @ejb.ejb-ref *should*
 work...
 and
  XDtComment:comment
 This loop is here for the sake of BWC. It's
 deprecated, use
 ejb.ejb-ref and ejb.ejb-external-ref.
   /XDtComment:comment
   XDtClass:forAllClasses
XDtWeb:forAllEjbRefs
 ...
 in web_xml.xdt
 
 The merging of ejb-ref.xdt definitely is in
 web_xml.xdt, it just isn't 
 working for me for some reason.
 
- o -
 
 BTW, looking at EjbRefTagHandler it looks like it is
 expecting a current 
 class in forAllEjbRefs(), but that seems to imply
 that it's being called 
 from an iteration over classes or something, which
 isn't the case. But 
 as I said, I don't have the slightest idea of
 XDoclets' inner workings ;-)

You catched it right. I have idea of inner workings
of xdoclet templating and it's a bitch :)

I'm not in charge of web.xml stuff, so I can only
guess why it was merged inside - it would not
work this way...

grüß aus Wiesbaden,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
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



Re: [Xdoclet-user] xdoc generation

2002-10-30 Thread Konstantin Priblouda
AFAIK, to generate xdocs you need maven :)
( grab it from jakarta.apache.org )

But be prepared - it's really obscure poor
documented build tool. But it's also really
powerfull and cool...

Once you have forced it to work, say mave site -
and some time later you will get your docs...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
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



Re: [Xdoclet-user] Package/Directory Management Best Practices

2002-10-31 Thread Konstantin Priblouda
--- Michael Hedgpeth [EMAIL PROTECTED] wrote:
 I am trying to migrate from JBuilder to IDEA and
 XDoclet.  With
 JBuilder, we put all of our EJB classes in one
 package and the ejb
 descriptors handled the build process behind the
 scenes, building
 roughly 25 different ejb jar files from that one
 package.  It doesn't
 look like this will work with XDoclet.  So, I'm
 wondering, what is the
 recommended best practice for package management?

Well, no approach would ever suit all needs. 
I prefer to split beans into modules where it makes
sense - say sequence generator bean et al. lives in
separate ejb-jar, and thus can be reused easily
between applications ) and my data beans live in
separate package. 

In ejb module i use following layout:
src/ - bean live there in ejb package
build/gen-src - xdoclet generates there, 
original sources are copied there, and javac 
compiles from there 

Generating one ejb-jar for every bean seems to be
overkill to me...

 Do you have an enterprise bean per package?  If so,
 what do you do with
 the deployment descriptors?  Do you generate
 everything at build time?
 Then how do you account for errors throughout the
 IDE saying it can't
 find your Remote Interface classes?

I personally ignore it. And do not use IDEs which cost
a lot of money, and try to be smarter than myself :)
( i scraped JBuilder, NetBeans ( too slow ) , Eclipse
( too smart :) ) and Together (memory hog ) in favor
of jEdit )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] javadoc warnings about ejbdoclet tags

2002-11-01 Thread Konstantin Priblouda
--- David Houlding [EMAIL PROTECTED] wrote:
 I am using Java 1.4.1, XDoclet 1.2b1 and Ant 1.5.1.
 When I put the
 ejbdoclet tags in my java source file for my bean
 and then run javadoc
 through Ant I get the following warnings:
  
 warning - @ejb.bean is an unknown tag.
 warning - @ejb.ejb-ref is an unknown tag.
 warning - @jboss.container-configuration is an
 unknown tag.
 warning - @jboss.ejb-ref-jndi is an unknown tag.
 warning - @ejb.create-method is an unknown tag.
 warning - @ejb.interface-method is an unknown tag.

Well, javadoc does not know anything about those tags
- 
so it complaints. 

 Anyone else seeing this? Is there a way to tell
 javadoc to ignore these
 tags?

Well, if there is any way to mute javadoc, 
it is surely covered
at java.sun.com/wherever javadoc descrived

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Default EJB Permissions?

2002-11-02 Thread Konstantin Priblouda

--- Jeremy Cowgar [EMAIL PROTECTED] wrote:
 I know that I can set the default permission for
 methods by adding 
 @ejb.permission role-name=user but when I then
 want to over-ride one 
 method, I add @ejb.permission role-name=superuser
 to that method tag.
 
 This does not seem to work. A user with the role
 user can run my 
 method I marked for superuser. Am I doing
 something wrong, or is this 
 not possible?

Setting permission on class level forces xdoclet to
generate following entry: 

  method-permission 
 description![CDATA[description not
supported yet by ejbdoclet]]/description
 role-nameadmin/role-name
 role-namedata/role-name
 method 
description![CDATA[description not
supported yet by ejbdoclet]]/description
ejb-nameRider/ejb-name
method-name*/method-name
 /method
  /method-permission

And of course such permission matches every method 
in your EJB.  Setting permission on method
creates yet another entry, but just for specified
method - and does not invalidate globbed permission. 

regards,


=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Default EJB Permissions?

2002-11-02 Thread Konstantin Priblouda

--- Jeremy Cowgar [EMAIL PROTECTED] wrote:
  Setting permission on class level forces xdoclet
 to
  generate following entry: 
  
method-permission 
   description![CDATA[description not
  supported yet by ejbdoclet]]/description
   role-nameadmin/role-name
   role-namedata/role-name
   method 
  description![CDATA[description not
  supported yet by ejbdoclet]]/description
  ejb-nameRider/ejb-name
  method-name*/method-name
   /method
/method-permission
  
  And of course such permission matches every method
 
  in your EJB.  Setting permission on method
  creates yet another entry, but just for specified
  method - and does not invalidate globbed
 permission. 
  
  regards,
 
 My source code (only revelant parts of course)
 /**
   * 
   * @ejb.permission role-name=user
*/
 public class .
/**
 * 
 * @ejb.permission role-name=Hello
 */
public PatientObjectValue getPatientObject()
 .
 
 That produces:
 
 method-permission
role-nameuser/role-name
method
  ejb-namePatientEntity/ejb-name
  method-name*/method-name
/method
 /method-permission
 method-permission
role-nameHello/role-name
method
  ejb-namePatientEntity/ejb-name
 
 method-namegetPatientObjectValue/method-name
  method-params
  /method-params
/method
 /method-permission
 
 A user with only the user role can still run the
 method 
 getPatientObjectValue. I am using JBoss-3.0.3 ... Is
 JBoss the problem 
 or am I doing something incorrect?

Hmm, as honest judge I would put blame on you :)
* in method name means that this permission applies
to every method in your bean - also to
getPatientObjectValue.

But user holding role Hello would be able to run
only 
this method. 

Roles are additive...

I give universal permission only to administrative
roles, which ought to be able to call everything,
and then ease restrictions on some methods for those
who need it
( I'm also using JBoss )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] permission problem

2002-11-03 Thread Konstantin Priblouda

--- julien viet [EMAIL PROTECTED] wrote:
 hi,
 
 I have one problem with permission method
 generation.
 I have a method with an argument which is an object
 from my project and xdoclet does not generate the
 right method-permission.
 
 my method on FacadeEJB is like
 
 /**
  * @ejb:interface-method
  * @ejb:permission
  *unchecked=true
  */
 public void business(SomeObject object) ...
 
 it generates
 
method-permission 
   description/description
   unchecked/
   method 
  description/description
  ejb-nameFacadeEJB/ejb-name
  method-intfLocal/method-intf
  method-namebusiness/method-name
  method-params
 method-paramSomeObject/method-param
  /method-params
   /method
/method-permission
 
 the package name is stripped and therefore that
 permission is incorrect.
 
 However if I set the fqn for SomeObject in the
 method
 :
 
 /**
  * @ejb:interface-method
  * @ejb:permission
  *unchecked=true
  */
 public void business(somepackage.SomeObject object)
 ...
 
 it goes well.
 
 This is with xdoclet beta downloaded from
 sourceforge.

This is known feature. You have to use FQNs for
your xdoclet-generated classes. This is even mentioned
in the docs. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] permission problem

2002-11-03 Thread Konstantin Priblouda
--- Jeremy Cowgar [EMAIL PROTECTED] wrote:
 Konstantin Priblouda wrote:
  This is known feature. You have to use FQNs for
  your xdoclet-generated classes. This is even
 mentioned
  in the docs. 
 
 
 FQNs?

Fully Qualified [Class] Names ...

Problem arises because those classes are not existent 
during xdoclet generation, and xjavadoc cannot resolve
them. But DDs like to have FQNs...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



RE: [Xdoclet-user] Toplink/CORBA Xdoclet

2002-11-05 Thread Konstantin Priblouda

--- Kyes, Mark [EMAIL PROTECTED] wrote:
 Thanks for the reply... If one was to do this..
 would you be inclined to model the jdo
 implemetation?
 or where would one start.. I dont mind doing the
 work and submitting it... a pointer in the right
 direction would be great..

Basic move is to locate module, which
does most similar thing[s] and look how it's done. 
For example, you need to generate IDL for your beans. 

1. You need set of tags to tag your classes. If there
are generic tags, use them if not - create your own
[ask on the developer list when in doubt]
[ creating them also includes writing formal xml
descriptor...]

2. You will need subtask which performs actual
template generation ( look at the existing ones )
3. You will need templates ( look at the existing ones
)
4. You will need taghandlers ( you know where to look
already :) )

If your goal is simple per class / per class group
generation AND you can live with existing 
tagnhandlers you may go without own subtask - just use
generic template subtask and existing taghandlers. 

Also, just checkout code from CVS repository, 
and go hack :)
[ and do not forget to subscribe to devel lists, 
such questions are best asked there ]
regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Problems with 1.2.0b1

2002-11-05 Thread Konstantin Priblouda

--- Craig Dickson [EMAIL PROTECTED] wrote:
 Hi,
  
 I just upgraded to v1.2.0b1 and I am seeing some
 problems. I changed my
 taskdef declaration to the one recommended in the
 docs and added all of the
 necessary jars. I did not change my actual task,
 except for changing to use
 filesets instead.
  
 When I run the ejbdoclet task, the nested
 deploymentdescriptor and jboss
 tasks show up on the screen as null/, whereas
 before there proper names
 were printing out. Also, depending on the order of
 tasks I execute I can
 consistently get a NullPointerException thrown when
 the deploymentdescriptor
 task is running.
  
 Does this sound like a known issue to anyone? I will
 provide more details if
 it is not.

Throw in your ant script ( taskdef + invocation )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Addition: RE: [Xdoclet-user] Problems with 1.2.0b1

2002-11-05 Thread Konstantin Priblouda
It's important to add all xdoclet modules
to classpath. There are dependencies between 
modules ( some tag habdlers are used widely, 
and a lot of such tag handlers is in
xdoclet-xdoclet-module.jar )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] generating docs

2002-11-05 Thread Konstantin Priblouda

--- Emerson_Cargnin_-_SICREDI_Serviços
[EMAIL PROTECTED] wrote:
 I'm trying to generate xdoclet html docs, but i
 can't get them, tried 
 ant docs but it creates only the following
 index.html :
 
 ./target/docs/api/index.html
 ./target/docs/todo/index.html
 ./target/docs/templates/index.html
 
 none of them is the one at :
 
 http://users.pandora.be/ees/xdoclet/
 
 
 what's the diference between
 @ejb.data-object and @ejb.value-object
 
 there's no description for value-object
 
 What I want is to create a value object mirroring
 entity bean persistent 
 attributes, use a substitutepackages sub-tag and
 extends a given 
 superclass that will deal with version for updates.
 Does this tag 
 creates a method in the entity to do a bulk update?
 -- 
 
 | Emerson Cargnin  |
 | Analista de Sistemas Sr. |
 | Tel : (051) 3358-4959|
 | SICREDI Serviços |
 | Porto Alegre - Brasil|
 |xx|
 
 
 

You will need maven to generate docs.
Grab it from jakarta.apache.org
then once you installed it say
maven site

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] xdoclet tags for hibernate

2002-11-06 Thread Konstantin Priblouda

--- Emerson_Cargnin_-_SICREDI_Serviços
[EMAIL PROTECTED] wrote:
 is there any plan to support tags for hibernate?

Such plans are best discussed in developer list. 
But short answer is: if there is demand by 
core developers, such support comes quickly. 

If there is somebody willing to contribute it
it comes as soon as contributed. 

If none of the above applies, lobby work is necessary
on developer list. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Anyone interested in writing a version of PetStore with xDoclet?

2002-11-07 Thread Konstantin Priblouda

 Also, has anyone used xdoclet to teach ejbs?

Kind of. I had to lead team of 4 developers
who received short training in java. 
( and no formal CS education at all) - 
I was able to get them to write EJBs

 I may be overreaching here, but I was going to give
 a few general lectures 
 on ejb, and then do one on xdoclet, before going
 onto specifics of entity, 
 session, message beans.

XDoclet would be really good strarting point,
because it allows to forget about wirting
all the interfaces  dds - so people just
see results coming fast and start to undertand 
what EJB is. Later you can provide more details
about DDs etc. 


 I'm thinking that if the students only need to focus
 on one file, and not 
 on three or more, then it should be more
 understandable, and easier. We'll see.

 Lastly, what's JIRA mentioned below?
http://opensource.atlassian.com/projects/xdoclet/secure/Dashboard.jspa

It's our new bug and issue tracking  tool
( we favored it over SF bug  tracking )

regards,


=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Re: idea plugin

2002-11-10 Thread Konstantin Priblouda

--- Bernardinus [EMAIL PROTECTED] wrote:
 - Original Message -
 From: Dmitri Colebatch [EMAIL PROTECTED]
 To: Bernardinus [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Saturday, November 09, 2002 4:43 AM
 Subject: Re: [Xdoclet-user] Re: idea plugin
 
 
  I think you will probably need struts.jar or
 webwork.jar in
  $IDEA_HOME/plugins/XDocletGUIPlugin/lib for the
 struts or webwork tags -
 you
  may notice that the ejb.jar from the samples is
 copied there to make ejb
  tags work.
 
 I did that, but nothing changed. Even the ejb tag is
 not shawn. Here is what
 I get (idea build #665):
 
 available tags:
 class level: - JavaBean
- castor mapping
- classic
- jdo
- jmx
- kodo
- lido
- msg
 
 protected mothod level:
- JavaBean
- castor mapping
- classic
- jdo
- kodo
- lido
- tjdo
 
 public method level:
- JavaBean
- castor mapping
- classic
- jmx

Tag family for ejb likes classes which implement
javax.ejb.(Entity|Session|MessageDriven)Bean

Specify them as full qualified class name 

( though I have nothing to do woth IDEA plugin, 
but it's the same codebase as standalone GUI )

BTW, you can try to use standalone GUI and activate
debugging output - then you will see how it parses
tag declarations, and checks for applicability

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
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



RE: [Xdoclet-user] XDT template relations

2002-11-11 Thread Konstantin Priblouda

--- Shaw, Chris [EMAIL PROTECTED] wrote:
 Well, I've searched MethodTagsHandler.java,
 ParameterTypesHandler.java,
 TypesTagHandler.java etc but can't find anything
 close to what I'm after so
 I guess it can't be done ... sigh ...
 

More generic approach would be to use 
property editors ( as I do ). 
XDoclet can generate java bean property descriptor for
you ( with help of @javabean.class 
@javabean.property
on level method )

So you canb specify property editors for your fields,
and then create class which would handle all the
edits of your VO.
( I use this setup for fat swing client )
regards,



=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
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



Re: [Xdoclet-user] getting started with samples question

2002-11-11 Thread Konstantin Priblouda

--- Lukas Severin [EMAIL PROTECTED] wrote:
 Hi,
 
 I just got started with xdoclets and downloaded the
 jar. In order to get to know the basics, I want to
 look inte the samples provided. After some fixing
 with adding jars which were missing in the
 distribution, I built the samples without problem.
 Now, is there any doc what to do next ? I couldnt
 find any deploy target (for jboss) in the provided
 build.xml, for example. Is there a tutorial
 somewhere giving a hint what the sample provide ?
 The missing target question has ben posted
 previoussly, I found, but without any answer.

Well, if you like to deploy on jboss, 
you just copy resulting EAR to deploy directory
of jboss. 

Sample provides just sample how to write xdoclet
tags and how to use xdoclet to generate stuff. 
It does nothing meaningfull. 

Though, petstore sample with xdoclet is beign
developed.

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
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



Re: [Xdoclet-user] getting started with samples question

2002-11-11 Thread Konstantin Priblouda

--- Lukas Severin [EMAIL PROTECTED] wrote:
 Thanks for your input. There is no target building
 ear in build.xml,
 neither any target for db tables (if needed ?).

XDoclet does not do anything for EAR - it's up on you
( but really trivial, it's just a .jar with
extension .ear )

DB tables are created by jboss ( for example )
while deployment.


regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
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



Re: [Xdoclet-user] getting started with samples question

2002-11-12 Thread Konstantin Priblouda

--- wu qihua [EMAIL PROTECTED] wrote:
 
 then what is the diffence between them?

Between what and what?

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
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



Re: [Xdoclet-user] template loops

2002-11-12 Thread Konstantin Priblouda

--- Jordan Thomas [EMAIL PROTECTED] wrote:
 Hi All,
 
 Sorry for the repeat posting but I haven't had a
 reply yet and I am
 getting pretty desperate. This seems simple enough
 but in reality, it is
 not so. I have defined the following xdoclet tags
 that I have defined.
 Essentially this writes out a set of definition
 tags with their nested
 put tags in an xml file. The nesting is determined
 by the parent value
 in the @tiles.put tag.
 
 /**
  * @tiles.definition
  *name=/dynamic/tiles/viewOneCompany
  *
  * @tiles.put
  *name=body
  *parent=/dynamic/tiles/viewOneCompany
  *value=/dynamic/company/viewCompany.jsp
  *
  * @tiles.definition
  *name=/dynamic/tiles/viewManyCompanies
  *
  * @tiles.put
  *name=body
  *parent=/dynamic/tiles/viewManyCompanies
  *value=/dynamic/company/listCompany.jsp
  */
 
 For use in the following template
 
 
 
 
 
   XDtClass:forAllClassTags
 tagName=tiles.definition
 definition name=XDtClass:classTagValue 
 tagName=tiles.definition/
 XDtClass:forAllClassTags
 tagName=tiles.put
   !-- if statement to detrmine the
 value of the
 tiles.definition name from the outer loop --
   !-- in reality, this value is being
 taken from the inner
 loop --
   XDtClass:ifClassTagValueEquals 
 tagName='tiles.definition' 
 paramName='name' 
 value='XDtClass:classTagValue
 tagName=tiles.put
 paramName=parent/'
  !-- nested put tags --
 put name=XDtClass:classTagValue
 tagName=tiles.put
 paramName=name/ 
  value=XDtClass:classTagValue
 tagName=tiles.put
 paramName=value//
   /XDtClass:ifClassTagValueEquals
 /XDtClass:forAllClassTags
 /definition
   /XDtClass:forAllClassTags
 
 Essentialy this is a nested loop which for each
 @tiles.definition tag
 will write out the nested @tiles.put tags to give me
 an expected output
 of:
 
 definition
 name=/dynamic/tiles/viewOneCompany extends=base
   put name=body
 value=/dynamic/company/viewCompany.jsp/
 /definition
 definition
 name=/dynamic/tiles/viewManyCompanies
 extends=base
   put name=body
 value=/dynamic/company/listCompany.jsp/
 /definition
 
 But instead I get (notice the duplicate put tags: 
 
 definition
 name=/dynamic/tiles/viewOneCompany
   put name=body
 value=/dynamic/company/viewCompany.jsp/
 /definition
 definition
 name=/dynamic/tiles/viewManyCompanies
   put name=body
 value=/dynamic/company/viewCompany.jsp/
 /definition

Unfortunately xdoclet templating engine
stores current class tag in static variables - 
this means, no nested loops over the same entity :(

Look into existing module, maybe there is something
specific you can use...

regards

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
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



RE: [Xdoclet-user] template loops

2002-11-12 Thread Konstantin Priblouda

--- Jordan Thomas [EMAIL PROTECTED] wrote:
 Thanks Konstantin,
 
 When you say that another module may be able to help
 do you mean that a
 module for another task may be able to help me? I am
 not sure how that
 would work. 

I'm not sure either. You have to look to module where
tiles stuff comes from ( taghandlers ) and try to find
something that matches  - I do not work with
struts stuff ( though I designed initial release of
struts.form ) - so I can not help you much in this...

 Is it possible to write a sort of plugin to do this?

Yes, of course - but it will be bloody, as
current templating engine is not very easy
programmed...

That's why xdoclet2 would use velocity. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
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



RE: [Xdoclet-user] template loops

2002-11-12 Thread Konstantin Priblouda

--- Jordan Thomas [EMAIL PROTECTED] wrote:
 OK,
 
 Hackarama here. No blood but plenty of mess. 
 
 @tiles.definition
 @tiles.definition1
 @tiles.definition2
 
 Lots of new tags, not very nice but it works... for
 now. Onto the next
 step.

Well, this is solution ( ugly looking though... )

If whyt you do has value for common usage with tiles,
you may raise improvement issue in JIRA, and
then provide patch of correct solution.

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
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



Re: [Xdoclet-user] Why is there a separate CMP class for each bean?

2002-11-12 Thread Konstantin Priblouda

--- SainTiss [EMAIL PROTECTED] wrote:
 Hi,
 
 I'm just trying to understand the samples here...
 
 As far as I know, an EJB should have an
 implementation class, a home and
 a remote interface, and optionally a local and local
 home interface...
 
 The implementation class can be of CMP or BMP
 type...
 
 Yet XDoclet seems to generate a lot more than
 this...
 Here are a few things I don't understand (let's take
 Account for an
 example):
 
 - Why is the AccountCMP class derived from
 AccountBean? I thought
 there'd be only one implementation class, but it
 seems there are 2 then?

There is only one, It's AccountCMP, which is derived
from abstract one you developed. You do not have to 
touch it, so it does not bite you. 

But if you like to write all the ejbLoad() ejbStore()
etc. methods yourself, you can type them in your
abstract entity bean and do not call entitycmp/
subtask :)

 - If the above are both implementation classes, then
 there's still one
 class I don't get: AccountData... What is this
 generated for?

It's bulk data transfer object. You can pull
all the bean properties out of entity bean
and transfer it over network with just one call -
saves time  bandwidth. 
( and this class comes handy for swing applications
and everyday use )

You can also get other funny stuff:
AcountUtil - you do not have to write
JNDI lookup stuff

Struts form beans, beaninfo classes ( nice for swing )

Some basic documentation in german would be available 
in the next JavaMagazin ( or overnext ) when
they finally manage to publish my article. 


grüß,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
This sf.net email is sponsored by: 
To learn the basics of securing your web site with SSL, 
click here to get a FREE TRIAL of a Thawte Server Certificate: 
http://www.gothawte.com/rd522.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] getting started with samples question

2002-11-13 Thread Konstantin Priblouda

--- wu qihua [EMAIL PROTECTED] wrote:
@ejb:persistence and @jboss:cmp-field
 
   for @jboss:cmp-field,the document said that it
 will add a cmp-field 
 element for a field of a cmp-field of ejb-jar.xml.
 
  for @ejb.persistence tag, provides information
 about the persistence of 
 a CMP Entity bean.  And I think it will also add
 cmp-field in the 
 ejb-jar.xml,right?   Then they are overrided,and
 implement the same 
 function?

No, jboss specific field provides specific
settings for jboss persistence engines.
ejb.persistence is just generic one size fits all
servers ( mostly :) approach 

Basically you can go without them ( as I do most of
the time )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



[Xdoclet-user] RE: [Xdoclet-devel] xrai

2002-11-13 Thread Konstantin Priblouda

--- Ara Abrahamian [EMAIL PROTECTED] wrote:
 Silly mistake :-) Corrected.

Continuig discussion about XDT-148 and autocompletion 
- comipled came straight out of it , and you never
noticed :)


regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Value Object reentrant problem

2002-11-13 Thread Konstantin Priblouda

--- Charlene Mitchell [EMAIL PROTECTED] wrote:
  --- Charlene Mitchell [EMAIL PROTECTED]
 wrote:   --- Charlene Mitchell
 [EMAIL PROTECTED]
  wrote:
   Hello
   
   I'm using Value Objects (an Employee has 1:M
   Addresses, so an Address has 1:1 Employee in
   return)
   but when I deploy my bean and call I finder I
  get
   the
   following exception in my App Server:
   
   javax.ejb.EJBException: Reentrant method call
   detected: Employee [.1.]
   
   In the log I see the following:
   at
  $Proxy108.getEmployeeConfidentialValue(Unknown
   Source)
   at
   
  
 

work.ejb.AddressesCMP.getAddressesConfidentialValue(Unknown
   Source)
   ...
   at
  $Proxy111.getAddressesConfidentialValue(Unknown
   Source)
   at
   
  
 

work.ejb.EmployeeCMP.getEmployeeConfidentialValue(Unknown
   Source) 
   
This works when I use normal EJB but not with
   Value
   Objects (using xdoclet 1.2.0 beta 1,
  JDK1.4.0_01,
   Solaris8, JBoss3.0.3).
   
Does anyone have a solution for this, it must
 be
  a
   common thing?
   
Thanks for any help
   
  
  try to add reentrant=true to your ejb.bean tag.
  
  regards,
 
 Hello
 
 I already tried that and the log files got huge, and
 the memory was crippled because the application
 server
 got stuck in a loop going back and forth between the
 2
 same entities
  

work.ejb.AddressesCMP.getAddressesConfidentialValue()
  
 work.ejb.EmployeeCMP.getEmployeeConfidentialValue() 
  
   
  

work.ejb.AddressesCMP.getAddressesConfidentialValue()
  
 work.ejb.EmployeeCMP.getEmployeeConfidentialValue() 
  
   
  

work.ejb.AddressesCMP.getAddressesConfidentialValue()
  
 work.ejb.EmployeeCMP.getEmployeeConfidentialValue() 

What app server you are using? Problem may be there...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Value Object reentrant problem

2002-11-13 Thread Konstantin Priblouda
Can you post your beans?
Seems taht you created a loop somehow...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] xdoclet in JSP's

2002-11-13 Thread Konstantin Priblouda

--- Jordan Thomas [EMAIL PROTECTED] wrote:
 Hi All,
  
 Simple Question. Can I place xdoclet tags into
 JSP's? (i.e. my own made
 up tags with a custom template) I tried this and it
 didn't seem to work.
 Before I get into this to far I probably should
 ask :O)

Yes, you can. You can place xdoclet tags even
on word documents, but question is wuld it do
anything usefull ?

XDoclet uses xjavadoc to parse java source files
( and get tag information ) - jsp is not java source
file.

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


---
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] xdoclet compile problem

2002-11-16 Thread Konstantin Priblouda

--- kiuma [EMAIL PROTECTED] wrote:
 Thx, this solved the problem, but now (also before),
 I have a problem 
 with xdcletgui,
 Now, when I load my bean The tree isn't filled.
 

Are there any errors logged?
regards,


=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Fwd: Re: [Xdoclet-user] xdoclet compile problem]

2002-11-16 Thread Konstantin Priblouda
do 
ant configlog4j to generate log4j.properties,
( set everything to debug ) then you will
see what happens...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Fwd: Re: [Xdoclet-user] xdoclet compile problem]

2002-11-16 Thread Konstantin Priblouda

--- kiuma [EMAIL PROTECTED] wrote:
 This is the result.
 
 [kiuma@kiuma xdocletgui]$ ant configlog4j
 Buildfile: build.xml
 
 init:
 
 configlog4j:
  [java] source tree #0: ./src/java/xdocletgui
  [java] source tree #1: ./src/java/xtags
  [java] source tree #2:
 ../xjavadoc/build/src/xjavadoc
  [java] appenderRef #0: STDOUT
  [java] config file format: PROPERTIES
  [java] default config file:   
 ./etc/log4j/log4j.properties
  [java] header input file: 
 ./etc/log4j/header.txt
  [java] trailer input file:
 ./etc/log4j/trailer.txt
  [java] Exception in thread main
 java.lang.NullPointerException
  [java] at 

de.japhy.tools.configLog4j.DirRecursor.getPathsRec(DirRecursor.java:57)
  [java] at 

de.japhy.tools.configLog4j.DirRecursor.getPaths(DirRecursor.java:42)
  [java] at 

de.japhy.tools.configLog4j.ConfigLog4j.main(ConfigLog4j.java:286)
  [java] Java Result: 1

I commited change to configuration of configlog4j
to reflec to new directory layout of xjavadoc. 

try again :)

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] about this ml

2002-11-16 Thread Konstantin Priblouda

--- kiuma [EMAIL PROTECTED] wrote:
 Why the default receiver is the sender and not the
 ml?

Good question... We got used to it somehow. 
You may as well raise support request in JIRA...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Template problem

2002-11-20 Thread Konstantin Priblouda

--- Jordan Thomas [EMAIL PROTECTED] wrote:
 Hi,
 
 I am trying to run the following code in a template
 that I made
 
 
   XDtClass:ifHasClassTag
 tagName=struts.action
 paramName=nextState
 XDtParameter:forAllParameterTypes
 paramName=nextState
 set-property property=nextState
 value=XDtClass:classTagValue
 tagName=struts.action
 paramName=nextState//
 /XDtParameter:forAllParameterTypes
   /XDtClass:ifHasClassTag
 
 It looks right but for some reason I am getting an
 error which reads
 
 Xdoclet.template.TemplateException: Invoking method
 in class
 xdoclet.tagshandler.ParameterTagsHandler failed:
 forAllParameterTypes,
 line=4 of template , exception: null
 
 Any suggestions would be most appreciated.

Hmm,  XDtParameter:forAllParameterTypes
works with method parameters ( and also requires
current method set ) - which is apparentoly not the
case. 

You need somethig like XDtClass:classTagValue...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



RE: [Xdoclet-user] Template problem

2002-11-20 Thread Konstantin Priblouda

--- Jordan Thomas [EMAIL PROTECTED] wrote:
 Oh, that's a problem. :O(
 
 More of this Struts stuff. Is there anyway to loop
 around the paramaters
 in a class level tag?

I have only one suggestioon: 
go digging code :)
( there is a lot of tags in xdoclet, 
and I do not know them all... )

You can loop over tokens in given tag parameter...
Most of template tags you may be interested in
( basic iterators ) live in core of xdoclet...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] why xdoclet can not point out the error when the tag property is error?

2002-11-22 Thread Konstantin Priblouda

--- wu qihua [EMAIL PROTECTED] wrote:
I use the following code and mistake stateless as
 tateless,but it can run 
 without any warning(of course the result is
 error).This will be very 
 danger,if I typo a keyword of like forementioned,I
 can  not get any message 
 about it.How can I get the message if something is
 wrong with the xdoclet 
 file?
 
 and it sames that xdoclet is not case
 sensitive,right?
 /**@ejb:bean name=wqh type=tateless
 jndi-name=com/wqh
 */

Currently it is impossible. Work is  being underway...

At the moment you can use xdocletgui ( compile it from
CVS ) - this will prevent most typos.

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] does PostgreSQL support the EJB-QL LOCATE() function?

2002-11-22 Thread Konstantin Priblouda

--- Herve Tchepannou [EMAIL PROTECTED] wrote:
 I'm trying to execute the following EJB-QL query:
 
 SELECT DISTINCT OBJECT(p) FROM Product AS p WHERE 
 LOCATE(p.productId,?1)  -1 OR 
 LOCATE(p.name,?1)  -1 OR 
 LOCATE(p.description,?1)  -1
 
 Shouldn't this work like the following SQL query:
 SELECT * FROM Product WHERE 
 p.productId like ?1 OR 
 p.name LIKE ?1 OR 
 p.description LIKE ?1
 
 If not, does anyone knows how to use LIKE in EJB-QL
 with parameters?

I do not think that question about workings of
JBOSS persistence engine belongs to this list. 
jboss.prg got its own forums, and there is certainly
one about persistence problems...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] XDoclet included in Out-of-the-Box Open Source distribution

2002-11-24 Thread Konstantin Priblouda

 I do not generate error-prone code with
 XDoclet or at least I 
 don't like to think so :)
 
 Could you please rephrase that so it doesn't sound
 like all XDoclet does 
 is make it faster to generate bugs?  :))

Of course such versatile tool as XDoclet can be used 
to generate bugs fast and convenient :) 
If somebody likes to do it...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] mergedir problem: weblogic task

2002-11-26 Thread Konstantin Priblouda

--- wu qihua [EMAIL PROTECTED] wrote:
  In the ejbxdoclet task ,there is a weblogic
 subtask,and a mergedir 
 property exists,but how to use it? Will merge with a
 xml file under the 
 mergedir directory?If so, then why did not point out
 the file to be 
 merged(How can the xdoclet know which file should to
 be merged?). If point 
 out the file,how are they merged?
 The document about merge point is so simple that
 I can not under the 
 detail of it's usage.OH,I think mergedir is
 something to do with merge 
 point,am I right?
 thanks!
 weblogic
version=6.1
xmlencoding=UTF-8
destdir=${ejb.dd.dir}
validatexml=false
datasource=PLEASE_MODIFY_THIS
mergedir=${ejb.dd.dir}
 /

NAme of file to be merged is defined in template,
and ( hopefully ) mentioned in docs. 

Currently most of the merge points like to have .xdt
files ( which can contain xdoclet template tags )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] ejbActivate() and ejbPassivate() in CMP

2002-11-27 Thread Konstantin Priblouda

--- Ingo Bruell [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi,
 
 is  there a way to instruct xdoclet that the methods
 ejbActivate() and
 ejbPassivate()  in  the generated CMP class calls
 these Methods in the
 superclass ? In Sessionbeans it still works.

Hi Ingo,raise enhancement issue in JIRA:
http://opensource.atlassian.com/projects/xdoclet/secure/Dashboard.jsp

And I will look for it ( you may assign it to me,
if you can not, send me issue number )

grüß,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: AW: [Xdoclet-user] problem generating some cmp-field in ejb-jar .xml

2002-11-27 Thread Konstantin Priblouda
Blame my eyes :)

Put your tags on getters, not on setters - 
it's said somewhere in the docs ( I hope )

grüß,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Best Practice for Merge Directory Location

2002-11-27 Thread Konstantin Priblouda

--- Adam Houghton [EMAIL PROTECTED] wrote:
 I'm using the ejbdoclet task in Xdoclet to produce
 interfaces, valueobjects, and the deployment
 descriptors for entity and session beans.  It's
 reading in files from a merge directory to make
 entries in ejb-jar.xml, jboss-xml, and
 jbosscmp-jdbc.xml for beans that aren't in Xdoclet. 
 
 I set it up so that the merge directory is the same
 as the deployment descriptor destination directory. 
 This keeps all of the descriptor files in the same
 place and I make sure to only include the correct
 ones in the JAR.  Everything is working great right
 now.  However, I was wondering if there was any
 chance that this could lead to problems down the
 line.  For instance, if an Xdoclet template looks
 for a merge file that is named the same as a
 generated descriptor file (like jbosscmp-jbdc.xml),
 having the two sets of files in one directory would
 be bad.  Is this situation being specifically
 avoided when choosing merge file names or could this
 type of overlap potentially happen?

I prefer another approach:

1. everything generated lives unde build/
2. everything source lives somewhere else
( and sources to be merged too )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] if last in loop tag???

2002-11-27 Thread Konstantin Priblouda

--- Michael O'Connor [EMAIL PROTECTED] wrote:
 Help!
on the way :)
 It strikes me that with all the iterative 'loop'
 tags (block tags) within
 XDoclet, there must be a generic tag that checks the
 condition this is the
 last / first / nth iteration in the loop...  I
 can't find one though!

I'll tell you truth: there is no such tag. And it's
unlikely that one will emerge soon ( before 2.0 )

Current templating language is not very good
( you must have figured it yourself ), and all the 
iterations are defined in various tag handlers,
so we just can not produce generic tag which would
check for last iteration. 

 I'm writing an xdoclet template to auto-generate
 JUnit tests for the EJBs
 I'm making in my current project, and part of my
 template looks like this:
 
 MyObject = new MyObject(
 XDtEjbPersistent:forAllPersistentFields
 TEST_XDtMethod:methodNameWithoutPrefix/,
 /XDtEjbPersistent:forAllPersistentFields
 );
 
 This iterates through all persistent fields in the
 EJB, and for each one
 outputs a variable name beginning with TEST_, and
 the whole thing is
 surrounded by MyObject = new MyObject(.); 
 E.g. given the fields
 UserId, Colour and Age - the desired output
 would be:
 
 MyObject = new MyObject(TEST_UserId, TEST_Colour,
 TEST_Age);
 
 So far so good.  The problem is that after each
 iteration the template puts
 a comma, including the *last* iteration - so what I
 actually get is the list
 with a comma at the end:
 
 MyObject = new MyObject(TEST__UserId, TEST_Colour,
 TEST_Age , );
 
 And this is very annoying!!  (at least the Java
 compiler seems to think so..
 ;o)   What I'm thinking of is something like the
 following
 XDtUtil:ifNotLast tag to control when to include
 the comma in the output:
 
 MyObject = new MyObject(
 XDtEjbPersistent:forAllPersistentFields
 TEST_XDtMethod:methodNameWithoutPrefix/
 XDtUtil:ifNotLast,/XDtUtil:ifNotLast,
 /XDtEjbPersistent:forAllPersistentFields
 );
 
 Any answers would be very much appreciated! 

Hmm, there are tags dooing similar stuff for patameter
lists for DataObject / Value object - and you will be
able to use them, since you have living EJB to work
with:
XDtEjbPersistent:persistentfieldList
superclasses=true/ will produce parameter
definition list

XDtEjbPersistent:persistentfieldNameValueList/
produce list without type names to be used for
invocations. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



RE: [Xdoclet-user] can't get ofType value-object feature to work

2002-11-27 Thread Konstantin Priblouda

 ofType is attribute for the subtasks to select
 classes
 they are interested...
 
 I'm sorry, I don't follow. Maybe an example would
 work?

It's basically attribute of template subtask (
ancestor of all other subtasks ), and is used to
select which classes to process. 
So entitycmp/ sets that to javax.ejb.EntityBean
internally. 

If you use template/ subtask as is, you can use it
to select classes you like to process. 


 No, I'm using 1.2beta1. If I use the @value-object
 extends tag, then I 
 get the desired subclassing, but I have to modify
 entity bean class. I 
 thought the ant task might allow me to do this
 globally.

You surely meant @ejb.value-object tag?
Anyway, I looked into tag handler and it pulls
superclass information only from extends=foo.bar
parameter. 

If you feel that this feature is needed, 
you may enter enhancements issue into JIRA

http://opensource.atlassian.com/projects/xdoclet/secure/Dashboard.jspa

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Exception in deploymentdescriptor/

2002-11-28 Thread Konstantin Priblouda

--- Jesse Stockall [EMAIL PROTECTED] wrote:
 I'm trying to use the XDoclet from CVS.
 
 After fixing the classpath, so
 commoms-collection.jar could be found I
 got XDoclet to compile.
 
 When I try to run deploymentdescriptor/ I get the
 following error:
 
 [ejbdoclet] Running deploymentdescriptor/
 [ejbdoclet] Generating EJB deployment descriptor
 (ejb-jar.xml).
 [ejbdoclet] 0 [main] ERROR
 TemplateEngine.invokeMethod  - Invoking
 method failed:
 xdoclet.modules.ejb.intf.InterfaceTags
 Handler.interfaceMethodName, line=6 of template
 file:

jar:file:D:\tools\CCbuild\xdoclet\xdoclet-ejb-module.jar!/xdoclet/
 modules/ejb/dd/resources/ejb-jar_xml.xdt
 [ejbdoclet] java.lang.IncompatibleClassChangeError
 [ejbdoclet] at

Such error [mostly] indicates that you need clean
build...


regards,
regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] how add code to value-object setEntityBeanValue method?

2002-11-28 Thread Konstantin Priblouda

--- [EMAIL PROTECTED] wrote:
 I am hoping that someone can give me advice on
 somehow adding code to 
 the setEntityValue method automatically generated
 by the value-object 
 facility.
 
 Right now, for all of my cmp entity beans, I'm
 coding a method, 
 updateEntityValue, that calls same two methods
 (see asterisks below). 
 I could do away with these methods if I knew how to
 get code added to 
 the setEntityValue method auto generated by the
 value-object facility. 
 
 
 
 public void
 updateResourceValue(ResourceValue value) {
   ** value.setMaintenanceDate(new
 Timestamp(new 
 Date().getTime())); 
   **
 performOptimisticConcurrencyCheck(value);
   setResourceValue(value);
 }
 
 Is this something that can be accomplished with
 merging (which I haven't 
 attempted before), or is there another, perhaps
 better or easier, way?

Yes, you can do this with merging. That's good news. 
Bad news (not really) is that there is no defined
merge
point where you like it to have. 

But it's not a bog problem. Extract template in
question from jar file, add merge point there
( with merge tag ) and feed this template file
to your subtask instead of original one. 

Put int your merge file whatever you like to appear in
your method. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] jdodoclet task?

2002-11-28 Thread Konstantin Priblouda

--- Andreas Heydler [EMAIL PROTECTED] wrote:
 Hello,
 
 Does anyone know if the jdo tags are documented
 anywhere other than in 
 the source?
 
 While I appreciate that you could work out what they
 are by going 
 through the source I don't consider myself expert
 enough at this stage 
 to reliably do so.
 
 Just wondering if there is any other documentation
 on them particularly 
 as they relate to kodo.

If you have CVS snapshot, you can use maven
to build odcumentation website.

All the tags ( hopefully ) are described in xtags.xml
file under respective module directory, and this file
is used to build tag documentation and in GUI tool
( which will allow you to edit tags on your sources )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] further merge point ?

2002-11-28 Thread Konstantin Priblouda

--- wu qihua [EMAIL PROTECTED] wrote:
   For xdoclet1.2beat,I can find the xdt file in
 xdoclet-bea-module.jar. If I 
 want to use my own xdt file,should I unzip
 xdoclet-bea-module.jar,replace 
 the correspont xdt file with my own xdt file,and
 then jar it?
   Or will I place my xdt file as a seperate file,but
 is so,how should I name 
 the file,the same as the file in the
 xdoclet-bea-module.jar,for example 
 :weblogic-ejb-jar-xml.xdt?

It depends on your preferences :)
You can pull template from jar, change then repackage
this file, or leave it somewhere outside, 
and use templateURL=where your changed template
lives
as parameter to the subtask. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] local object generated is empty...

2002-11-28 Thread Konstantin Priblouda

--- padhu vinirs [EMAIL PROTECTED] wrote:
 
 I am new to xdoclet. I am not able to figure out
 what is wrong with this bean source. I get a empty
 implementation of the local object. Any help is
 appreciated.
 
 
 
 package com.stockquote;
 
 import javax.ejb.*;
 
 /**
  * @ejb.bean  name=StockQuote 
  *type=CMP 
  *cmp-version=2.x
  *primkey-field=id
  *schema=stocks

YOu surely mean local interface?
If you like to have it generated specify  parameter
view-type=local or both on @ejb.bean

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Exception in deploymentdescriptor/

2002-11-28 Thread Konstantin Priblouda

--- Jesse Stockall [EMAIL PROTECTED] wrote:
 On Thu, 2002-11-28 at 02:58, Konstantin Priblouda
 wrote:
  
  Such error [mostly] indicates that you need clean
  build...
  
 
 What do you mean by clean build?
 
 I'm only using XDoclet to generate the deployment
 descriptors, so there
 is nothing to clean. 
 
 I don't get the errors with an older version of
 XDoclet (CVS from
 October), only with the latest CVS.

I mena clean xdoclet build. Error you got says that
runtime reflection goofed - bogus subask descriptors
- rebuild xdoclet

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] local object generated is empty...

2002-11-28 Thread Konstantin Priblouda

--- padhu vinirs [EMAIL PROTECTED] wrote:
 
 That did not help also.

post your bean source again,
I'll look on it. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



RE: [Xdoclet-user] local object generated is empty...

2002-11-28 Thread Konstantin Priblouda

--- Shaw, Chris [EMAIL PROTECTED] wrote:
 For starters, shouldn't 
 
 /*
 
 Be
 
  /**

It should...
I would recommend to use GUI tool to tag java source
files. This reduces amount of typos...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] xdoclet cvs co fails to build

2002-11-29 Thread Konstantin Priblouda

--- Hanasaki JiJi [EMAIL PROTECTED] wrote:
 just did a checkout of xdoclet.  under linux it
 seems to be trying to 
 call a .bat file.  any ideas?

You can ignore this warning...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



RE: [Xdoclet-user] caching homes in util

2002-11-29 Thread Konstantin Priblouda

--- Aslak_Hellesoy [EMAIL PROTECTED] wrote:
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
 
 [mailto:[EMAIL PROTECTED]]On
 Behalf Of Konstantin
  Priblouda
  Sent: 29. november 2002 11:47
  To: Lukas Severin
  Cc: xdoclet-user
  Subject: Re: [Xdoclet-user] caching homes in util
 
 
  --- Lukas Severin [EMAIL PROTECTED]
 wrote:
   Instead of generating a bean util (for each
 bean)
   with xdoclet, would it not
   be better to use something like the following
 home
   factory ?
  
  
 

http://www-106.ibm.com/developerworks/java/library/j-ejb0924.html?
  dwzone=jav
 
  Nobody prevents you from doing it. But it will
  introduce dependency on external ( additional )
  classes
  and this is PITA in most EJB environments.
 
 
 What external classes are you talking about
 Konstantin?

OK, we got this external class doing fancy lookups for

us  ( as proposed ). Suppose we have more than 1
ejb-jar  in application. So, duplicate this class ion
both? Deploy some separate jar? 

It depends on app server what to do...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



RE: [Xdoclet-user] caching homes in util

2002-11-29 Thread Konstantin Priblouda

--- Ara Abrahamian [EMAIL PROTECTED] wrote:
 There are always different solutions to any given
 problem. The util
 classes are typesafe, you don't cast the returned
 type to MyConcreteHome
 type. Brett's solution is not.

Not only casting. I think ( read this somewhere ) that
home interfaces have to be narrowed?
( which is bigger PITA than casting )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: AW: [Xdoclet-user] xdoclet1.2beta1 bug?: xxxUtil.getHome() usingCOMP_NAME instead of JNDI_NAME?

2002-11-29 Thread Konstantin Priblouda

--- tek1 [EMAIL PROTECTED] wrote:
 thank you pazu.
 
 looking at the 1.2beta1 xdoclet docs for utilobject
 subtask's kind 
 attribute, it says Sets the Kind attribute of the
 UtilObjectSubTask 
 object.  a bit confusing.  the word kind in
 itself doesn't seem 
 descriptive enough.  also, it's not possible from
 the attribute name kind 
 to tell that it's related to the class tag,
 @ejb.util generate=physical.
 
 SUGGESTION 1:
 perhaps the utilobject attribute would be better
 named lookupType and the 
 possible values be jndi and comp.  also, the
 @ejb.util attribute could 
 also be renamed to lookupType with the same
 possible values.

This is woth posting to JIRA as enhancement issue...


 SUGGESTION 2:
 
 in the documentation, is it possible to add another
 column after 
 description and before required called possible
 values?  just looking 
 at the documentation, it's impossible to know what
 the acceptable values 
 are.  also, a column named default value (for when
 the attribute is 
 omitted) would also be extremely helpful.
 
 
 just starting to learn my way around the ejb side of
 xdoclet again and 
 don't know if the previous suggestion for attribute
 name and possible 
 values is correct, but it seems easier to
 understand.
 
 how can i help with improving the documentation?

Read it, and point us when you see something wrong or
missing. Any help is always appreciated. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Security Exception magically appears

2002-12-02 Thread Konstantin Priblouda
 I have my own SecurityException class, but XDoclet
 seems to override it with
 the Sun one when creating a local interface.
 
 In my bean I have the import of my own class as
 follows:
   import my.domain.SecurityException;
 
 and my method can use it without needing to fully
 qualify it as follows:
   public Object myMethod() throws SecurityException
 {
 
 Since I do not import the Sun one then this should
 work fine.except that
 in my Local interface I see the following generated:
   public Object myMethod() throws
 java.lang.SecurityException;
 
 As a workaround I can fully qualify my class in the
 throws clause, but I
 shouldn't need to really. 
 Why does this happen, why does the wrong Security
 Exception class appear?

If you have class name clash, you will be bombed
by compiler - and remember, java.lang is always
imported...

So in this case you got to use fully qualified name 
always...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] finder method

2002-12-03 Thread Konstantin Priblouda

--- Volkan Yildiz [EMAIL PROTECTED] wrote:
 Hi all,
 I have a problem about ejb finders. I need to write
 a
 query like this
 
  * @ejb:finder signature=java.util.Collection
 findName1(
  java.lang.String name)
  * query=
  *
  * @jboss.query signature=java.util.Collection
 findName1(java.lang.String name)
  * query=SELECT OBJECT(c) FROM Personnels AS c
 WHERE
 c.name1 LIKE ?1
 
 But it did not work. So how can i use the like
 method anyway.

This question is a bit out of scope of xdoclet,
but jboss likes to have ejb-ql query specified
( my opinion )

As for like - it's definitely issue with jboss
persistence engine. What database mapping you are
using? Maybe you can ask this question in jboss forums
- there is a lot of people who understand it better.

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Problem using template file for JBoss 3 cmp in xDoclet 1.2 beta 1

2002-12-03 Thread Konstantin Priblouda
 I could of course put the xdt file back into the jar
 file, but that doesn't
 seem right, and should not be necessary (I hope).

jboss subtask uses several templates, and thus does
not honors templateFile attribute. 

But you can try to use jbosscmpTemplateFile - 
this shall work better...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] 503 Server Not Initialized Problem

2002-12-03 Thread Konstantin Priblouda

--- Trish Hartnett [EMAIL PROTECTED] wrote:
 Hello,
  I'm a newbie. I'm trying to deploy a servlet on
 JBoss. The servlet seems to
 deploy okay, but when I try to look at it in a web
 browser, I keep on
 getting an error saying HTTP ERROR: 503 Servlet Not
 Initialized. Can
 anybody offer any advice on where to start please ?
 Thanks,
 Trish.

I think this question is better asked in jboss
forums, or specific lists for your servlet container
( if you use default jboss settings, 
you most likely got jetspeed - also on jboss site )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Facades and value objects.

2002-12-04 Thread Konstantin Priblouda

--- Colin Canfield [EMAIL PROTECTED] wrote:
 Hello,
   I was wondering if anyone has made any attempts to
 change facades to work
 with value objects rather than data objects ? At the
 moment they produce
 useful methods with the wrong types :)  In previous
 messages people said not
 to use facades, was this meant to be the entire
 facade tag, or just data
 objects within the facade ? Is there any
 alternatives ?

Session facades were considered not ready for the
prime time, because they required 2 passes of xdoclet
generation...

You can look into JIRA at: 
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-44

and give your salt to discussion. 

At the moment I refactored facade stuff, and produced
kind-of remote facades in utility object - 
wrappers for finder / CRUD methods + collection
strippers which are observer/observable - 
this comes very handy in swing applications. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Birds of a feather: EJB users at OOP 2003?

2002-12-04 Thread Konstantin Priblouda

 in January, there will be OOP 2003, the well-known
 conference for Object
 Oriented Programming in Munich, Germany (see
 www.oopconference.com). James
 Gosling will be there, Robert Martin, Jens Coldewey
 and many other shining
 speakers.
 
 Question: How many of you will attend and would be
 interested to meet me
 there to have a kind of birds of a feather session
 on automatic,
 model-driven generation of EJB/J2EE components?
 
 If a significant number would gather, maybe I can
 convince Frances, the
 chairwoman, to give us a meeting room for Jan 22. I
 think of a kind of
 round-table with a short introduction on
 model-driven EJB design and a quite
 informal exchange of experience? And: maybe, going
 out for a Bavarian beer
 or Sushi afterwards?
 
 Please respond with +1, 0, -1.
I'm +0.5, depending on personal situation. 
Procreation goes before conferences :)

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Why is my entityPK not working?

2002-12-04 Thread Konstantin Priblouda

--- Jordan Thomas [EMAIL PROTECTED] wrote:
 Hi All,
 
 Why is my entityPK not working? It was working but
 now it had decided to
 stop working. (Likeley story...) I am not sure why
 as I tried on an old
 version of the code and that worked and that looks
 exactly the same except
 for the addition of the @ejb.pk tag but removing
 that makes no difference.
 Here is a sample of the code that I am trying to
 generate the PK from. Any
 ideas would be great. I am at an end here.
 
 thanks
 
 Jordan
 
 /**
  * @ejb.bean type=CMP cmp-version=2.x
 name=Account
  *  local-jndi-name=ejb/AccountLocal
 view-type=local
  *  primkey-field=id reentrant=false
  * @ejb.util generate=physical
  * @ejb.pk generate=true
  * @ejb.data-object container=true setdata=true
  *  generate=true
  * @ejb.finder signature=Collection findAll()
  *  result-type-mapping=Local
 method-intf=LocalHome
  *  query=SELECT OBJECT(o) FROM Account o
  * @ejb.persistence table-name=account
  */
 public abstract class AccountBean implements
 EntityBean {
 
 
 
 /**
  * Returns the id
  *
  * @return the id
  * @ejb.pk-field
  * @ejb.interface-method view-type=local
  * @ejb:transaction type=Required
  * @ejb.persistence column-name=id
  * @jboss:jdbc-type type=INTEGER
  * @jboss:sql-type type=INT(11)
  */
 public abstract java.lang.Integer getId();
Well, you say xdoclet that you would like to use
Integer as primary key, and it is stored in Id field.
So, no PK generated...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Facades and value objects.

2002-12-04 Thread Konstantin Priblouda

--- Lukas Severin [EMAIL PROTECTED] wrote:
 Sorry, I dont understand this.  Do you say that a
 session facade bean
 returning a value object is NOT suitable when using
 a JSP client because the
 JSP uses a pull strategy  ?

Well, JSP ( or servlet ) works on request bases, and
is basically stateless - so keeping value objects for
later use is not convenient. 
Of course you can store your value object on user
session, but you will have to resynch them on request.


SessionFacade was designed to allow convenient access
to collections of data/value objects through remote
adapter class. 

in JSP /servlet you do not need to notify 
big bunch of user interface objects about changes - 
you just relist them on new request ( if request comes
)

But if your jsp goes to the EJB remotely, it could be
suitable to strip data/value object in EJB container,
and return just them instead of remote interfaces.
( but funny thing, if sessionfacaceEJB likes to 
return remote interfaces, it would have to call
entites also remotely... )

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



RE: [Xdoclet-user] Why is my entityPK not working?

2002-12-04 Thread Konstantin Priblouda

--- Jordan Thomas [EMAIL PROTECTED] wrote:
 Thanks Konstantin,
 
 It seems strange though because it was definately
 generating the PK class
 but now not. And in another app with almost the same
 code it is too. The
 problem is that my whole app is developed relying on
 these PK classes that
 WERE being generated. Any ideas on how I can get
 this back to how it was?

If you really want PK classes containing one field (
and generated per-entity ) just remove
pk-field parameter from ejb.bean, and everything
shall be fine. 

I'm using just java.lang.Integer everywhere,
and I'm happy - it makes easier live for SWING
frontend...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Facades and value objects.

2002-12-04 Thread Konstantin Priblouda

 Thats how I thought this was generally done, in
 principle it means having an
 optimistic strategy for the unlikely event that some
 date are stale. By the
 way, isnt this what all pattern books suggests ? :

Well, pattern books are pattern books, but there is
real life...

 JSP - BD - Session facade  Entity Bean
 
 Whats the alternative ?
 
 (Sorry if this is getting off topic)

Why offtopic? XDoclet is about generating patterns.

Session facades are usefull to reduce remote
comminication with ejb container. But if you live in
same JVM, you can go through local, and save 
invocation ( and coding ) overhead.

For JSP scenario I would prefer ( may be ) session
bean which generates data model for me, and render JSP
using it.  There could be several data models of
course...

I would also prefer to deep-six JSP completely and use
velocity as HTML renderer - it's faster and easier to
use...

I developed sessionfacade/remotefacade pair for my
swing application scenario, where I  have a lot of
CRUD
stuff - which also need to be done...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Facades and value objects.

2002-12-04 Thread Konstantin Priblouda

  For JSP scenario I would prefer ( may be ) session
  bean which generates data model for me, and render
 JSP
  using it.
 
 I aint getting it. Isnt this a contradiction. What
 are you really advocating
 ?

Nothing :)  Swing app  web frontend are quite
different in nature. Web one lives from request to
request - you got request, you have to gather data
together ( we do not speak about frameworks now ),
you have to render response. 
In a swing there are much more things to worry
( you basically got a lot of components, which need
data and you have to optimise remote calls )

 If I now have a JSP client (though  you dont like 
 it),  whats the
 alternantive to a session facade ? Are you
 suggesting some special framework
 instead of using the standard (such as eg struts).
 Care to comment on the
 push and pull models respectively (or give a url) ?

I do not like JSP because of:
- awfull syntax
- possibilities it offers to HTML people
- exception handling
- degugging problems like where came this damn
exception from which was 3-4 times rethrown from 
unreadable generated code
- performance ( very poor )

In short, mixing of logic and presentation produces a
lot of problems...
( read YMTD paper in velocity docs - it's explained
better there )

I prefer clear separation - here I gather data
together, and there is my template rendering - 
and designers can not  not forget curly braces 
or semicolons, and do not ask questions about
NullPointerException

For JSP I would use model beans which I instantiate
with the request data, and then query them while
rendering - this way java code is out of sight
( and hopefully reach :) ) of frontend folks.

Whether those beans play with EJB directly, or go
through session facade depends on current situation. 
If you like to have whole process wrapped into
transaction or you go remote way - go for session
bean. If this is not necessary - you may as well 
call your entities directly. 

If you use this logic only for web tier - you can
place it there. If you intend to access this logic
from somewhere else - put it into session facade...


 That was my original concern, the rest of your
 posting I essentially agree
 with (though I believe that patterns are real life
 project experience ;-)

Most people believe the same thing :) But projects are
different, and expiriences are too. And this moves to 
philosophy :)

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Using XDoclet to switch b/w form-based authentication and JAAS

2002-12-05 Thread Konstantin Priblouda

--- Matt Raible [EMAIL PROTECTED] wrote:
 Hello All,
 
 I'm in the midst of writing a chapter on Security in
 Web Applications 
 for an upcoming Wrox book.  I want to include a
 demonstration of using 
 JAAS in my sample app, as well as using form-based
 authentication.  
 Would it be possible to do the following with Ant
 and XDoclet?
 
  * Use Ant and a task that runs if
 ${enable.jaas} is true

It's possible. There are attributes for targets like
unless=${foo} and conditional execution 

  * This task (i.e. jaas) will add a JAAS policy
 file to the webapp, 
 maybe in the WEB-INF/classes directory so it's in
 the classpath


  * The jaas task will do some token replacement
 in login.jsp to 
 change the form's action from j_security_check to
 something else. 
 Ideally, I wouldn't have to do this.

This can be done by copy task. 

  * The webdoclet task with not merge the
 web-security.xml file into 
 web.xml
  * The ActionFilter, which I currently use to
 retrieve the user's 
 information, will call the authenticate method and
 route appropriately 
 if JAAS is enabled.
 
 One thing I really like about form-based
 authentication (besides the 
 ease of setup and no required programming) is that
 it allows users to 
 bookmark pages in your app. When they select that
 bookmark again after 
 logging out, they are prompted for a login and
 routed to the bookmark 
 upon successful authentication. I hope JAAS can do
 this too.

You are mixing up authentication   session tracking
method. User sessions can be authenticated
via FORM, BASIC and whatever methods. 

Authentication / Authorization kicks in if user
requests URL which is protected. Only difference with
those methods is that in FORM you are redirected
to specific page, and after you submit to
j_security_chek you are redirected back to where you
liked to go first. With BASIC you get user/password
dialog in your browser. BASIC authentication also has
its problems - browser remembers username/password
until restart ( at least netscape )

Authentication information is later stored on user
session. 

You can bookmark pages regardless of authorisation
method. What really matters is session tracking method
- if this is tracked via cookie / certificate - you
are fine. If you use URL mangling, you may (and
certainly will) loose authentication if you try to
call up bookmark - there is wrong session stored. 

I think you try to reinvent the wheel. 
Servet containers are required to provide
authentication by spec. If you configured URLs to
protec in web.xml, it will kick in. It will try to 
obtain your principal/credential ( via BASIC or FORM 
methods ) and store them in a session. 

Then for every request, interceptor/valve will 
authenticate/authorize  it to proceed.

So, no need explicitly reauthenticate user. 

BTW, if you are using jboss/tomcat combo, cached
authentication information will be handed to jboss,
and then authenticated/authorized again for EJB method
calls. 

I had a weird security infrastructure, where I needed
to provide different ( and possibly intersecting )
sets of login names for different web ocntexts, 
all of them accessing the same EJBs. And I also liked
to have numeric user ID for EJB instead of login names
(which were not unique , and possibly one user could
go by different names depending on web context)

I just can not see what XDoclet got to do with it. 
It's just templating engine which renders templates
based on metadata contained in the java sources...

just my EUR 0.02

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] Dublicate methods in local home interface!?

2002-12-06 Thread Konstantin Priblouda

--- Kjetil H.Paulsen [EMAIL PROTECTED]
wrote:
 Well.. trying beta1 this happened instead so I can't
 answer your question...
 
 Error: build.xml:51: taskdef class
 xdoclet.modules.ejb.EjbDocletTask 
 cannot be found
 
 And I can't see anything wrong with my taskdef
 either..
 taskdef name=ejbdoclet
  
 classname=xdoclet.modules.ejb.EjbDocletTask
classpath
 location=${basedir}/lib/xdoclet-ejb-module.jar/
classpath refid=project.class.path/
classpath path=weblogic.classpath/
 /taskdef

Try to run ant with -diagnose switch - this will
produce debug information. Maybe you got classpath
problem. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



RE: [Xdoclet-user] Fix for webwork.module

2002-12-07 Thread Konstantin Priblouda

--- Herve Tchepannou [EMAIL PROTECTED] wrote:
 where do I send the patch?
Use JIRA:

http://opensource.atlassian.com/projects/xdoclet/secure/Dashboard.jspa

Create enhancement issue.

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] slightly ot: populating country and language tables

2002-12-08 Thread Konstantin Priblouda

--- tek1 [EMAIL PROTECTED] wrote:
 sorry for the off-topic post, but do any ant or
 other scripts exist for 
 automatically populating Country and Language
 tables in the database 
 that hold the ISO country/language code and their
 respective names?
 
 for example, a script that will automatically insert
 the codes and names of 
 the countries listed on:

I'm not aware of it. But write a perl script
which will parse this page owuld be pice of cake. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] Default COMP_NAME in local interfaces.

2002-12-12 Thread Konstantin Priblouda

--- Ryan LeCompte [EMAIL PROTECTED] wrote:
 
 Hello all,
 
 Is there any way to tell Xdoclet to not append the
 string java:comp/env/ejb/ to the following
 generated code in the home interfaces:
 
 public static final String

COMP_NAME=java:comp/env/ejb/ApplicationInputManager;

Currently not. But what you are looking for lives in
JNDI_NAME.

If you believe that configurable COMP_NAME
would be usefull, fill enhancement request in JIRA.

You can also change template yourself and
feed it to subtask...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] superclass for value-objects

2002-12-13 Thread Konstantin Priblouda

--- Woll, Rolf [EMAIL PROTECTED] wrote:
 Hi!
 
 I am trying to make one of my value objects extend a
 superclass. According
 to the documentation
 this should be possible to do like this.
 
 * @ejb:value-object match=*
 extends=some.package.name.MyValueBase
 
 However, the generated Value object extends
 java.lang.Object and not
 some.package.name.MyValueBase.
 
 I am using the 1.2beta1 version downloaded december
 6'th

If you believe that it'a bug, fill the
support request in JIRA - or else it wil be lost in
the list...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] JNDI_NAME COMP_NAME

2002-12-19 Thread Konstantin Priblouda
 
 Here is where it changed:
 
 http://tinyurl.com/3old
 
 Konstantin?

Well, there was an issue which I fixed...
I see you reopened it
Shall I tweak it back?

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M  http://www.thinkgeek.com/sf/
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Database Compound Primary Key Issue

2002-12-20 Thread Konstantin Priblouda

--- Reeves, Paul [EMAIL PROTECTED] wrote:
 Hi,
 
 We have a number of database tables where the
 primary key is a compound
 primary key.
 
 This in itself is not a problem (as we always use a
 EntityNamePK class for
 the primary key).
 
 What is a problem is that none of these columns are
 @ejb.persistence columns
 - they are all themselves foreign keys ie
 @ejb.relations
 
 How can we tag this in XDoclet? because XDoclet
 complains if we use
 @ejb.pk-field without using @ejb.persistence
 
 (and we can't use @ejb.persistence with the
 @ejb.relation tag)

At least JBoss has problems with CMR fields ( your FK
)
being also CMP fields. Not sure for other app servers.

Maybe you shall look at some O/R mapping tool
as your persistenze layer - like Hibernate, and
throw aaway your entity beans. 

I'm playing with it right now and it looks awesome
( and I'm developing xdoclet support for it )

grüß aus Wiesbaden,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
Time is running out!  Thinkgeek.com has the coolest gifts for
your favorite geek.   Let your fingers do the typing.   Visit Now.
T H I N K G E E K . C O Mhttp://www.thinkgeek.com/sf/
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



RE: [Xdoclet-user] Database Compound Primary Key Issue

2002-12-20 Thread Konstantin Priblouda

--- Reeves, Paul [EMAIL PROTECTED] wrote:
 Hi,
 
 Looking into this it appears that WebLogic provides
 workaround support for
 this and that
 JBoss 4 will do as well. Therefore, if WebLogic
 currently support this then
 it should be possible
 using XDoclet  Is it? If not, will it be??

Probability that it will be if you fill enhancement
request in JIRA - then people in charge for weblogic
will see this...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
Time is running out!  Thinkgeek.com has the coolest gifts for
your favorite geek.   Let your fingers do the typing.   Visit Now.
T H I N K G E E K . C O Mhttp://www.thinkgeek.com/sf/
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] RE: [Hibernate] Problem using Xdoclet to generate relationships [newbie]

2002-12-23 Thread Konstantin Priblouda

--- Matt Raible [EMAIL PROTECTED] wrote:
 I'm trying to run the xdocletgui (using run.bat) and
 getting a
 ClassNotFound error:
 
 Exception in thread main
 java.lang.NoClassDefFoundError:
 xjavadoc/XJavaDocException
 at xdocletgui.Run.main(Run.java:28)
 
 Any ideas?

I'm committing updated version of run.sh - jar names
of xdoclet stuff have changed...

regards,

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] Intercepting write access to bean attributes

2002-12-27 Thread Konstantin Priblouda

--- Bobby Abraham [EMAIL PROTECTED] wrote:
 I am wanting to intercept updates to entity beans
 attributes both 
 through the use of the setXXX method and the
 setData() methods on the 
 interface (remote and local) of the entity bean.
 
 This could be used to generate derived fields on the
 bean or implement 
 an audit strategy.

Nice idea... But nobody thought about it while
designing EJB spec. There is ongoing work in AOP -
auditing could be just an aspect of class/method.


 It this possible with XDoclet, now or with a bit of
 effort to make it work ?
Everything is possible with a bit if effort. 
Though in this case a bit would be quite large...

 I would imagine the generated EntityCMP class would
 have to change to 
 call another method after each set method.  I am not
 sure of the 
 implications or even if this is legal according to
 the ejb spec.

For EJB 1.x it would be possible. In 2.x - not sure. 
YOur CMP class shall be abstract in relation to 
setters, and container qill generate them on the fly. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] XDoclet - info needed

2003-01-01 Thread Konstantin Priblouda

--- Sudhansu Pati [EMAIL PROTECTED] wrote:
 Hi all,
 
I have been sending e-mails to different
 places, but no response. I
 am with Borland Software Corporation and I have
 already created XDcolet
 support for Borland Enterprise Server. Can someone
 tell me whom to contact
 to submit my work.
 
 Sudhansu Pati
 Systems Engineer
 Borland Software Corporation
 831.431.1893
 Borland -- Enabling a new digital world !

Well, I see you already created an issue in JIRA
( XDT-217 ) - I'm assigning it to me, and if you
attach your files ( or provide link for download )
I can integrate it.

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] Any great mind working on jakarta OJB?

2003-01-03 Thread Konstantin Priblouda

--- Derek Lin [EMAIL PROTECTED] wrote:
 I just checked the xdoclet site and realized the
 addition for hibernate.  This is great.  I tend to
 think jakarta OJB is more mature than hibernate (I
 am not sure that's true.  Maybe it is only because
 it's from apache)  But is there any plan to make an
 ojbdoclet?  Is anyone working on this?

AFAIK, at the moment nobody works on this...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] stricter rules for full-qualified vs unqualified class names in ebjdoclet in v1.2?

2003-01-03 Thread Konstantin Priblouda

--- Torgeir Veimo [EMAIL PROTECTED] wrote:
 We had these @ejb tags which generated fine under
 xdoclet 1.1.2;
 
 @ejb:pk

class=com.somewhere.ejbcontainer.domain.IntegerIntegerPK
 generate=false
 
 @ejb:finder

signature=com.somewhere.ejbcontainer.domain.LEtoRoleMapRemote
 findByPrimaryKey(IntegerIntegerPK key)
 
 However, under xdoclet 1.2beta2 I need to use a full
 qualified classname
 parameter for the IntegerIntegerPK param in the
 finder method, otherwise
 I get two finder methods generated in the Home
 class;
 
 @ejb:finder

signature=com.somewhere.ejbcontainer.domain.LEtoRoleMapRemote

findByPrimaryKey(com.somewhere.ejbcontainer.domain.IntegerIntegerPK
 key)
 
 
 Is this correct by design in v1.2?

IIRC, you do not have to specify findByPrimaryKey,
xdoclet would generate this automatically.
( it's required by EJB spec )


And now you have to use fully qualified names
because xjavadoc ( which replaced the javadoc )
for classes not on xdoclet source path ( and
especially those you are generating ) or it would
qualify them in the same package as your beans.

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] stricter rules for full-qualified vs unqualified class names in ebjdoclet in v1.2?

2003-01-03 Thread Konstantin Priblouda

--- Torgeir Veimo [EMAIL PROTECTED] wrote:
 On Fri, 2003-01-03 at 06:11, Konstantin Priblouda
 wrote:
  --- Torgeir Veimo [EMAIL PROTECTED] wrote:
   We had these @ejb tags which generated fine
 under
   xdoclet 1.1.2;
   
   @ejb:pk
  

class=com.somewhere.ejbcontainer.domain.IntegerIntegerPK
   generate=false
 
  IIRC, you do not have to specify findByPrimaryKey,
  xdoclet would generate this automatically.
  ( it's required by EJB spec )
  
  
  And now you have to use fully qualified names
  because xjavadoc ( which replaced the javadoc )
  for classes not on xdoclet source path ( and
  especially those you are generating ) or it would
  qualify them in the same package as your beans.
 
 So the correct sollution is to remove the
 @ejb:finder tag, and just
 keep the @ejb:pk tag, with full-qualified classname?

Yes. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



RE: [Xdoclet-user] Any great mind working on jakarta OJB?

2003-01-03 Thread Konstantin Priblouda

   ojbdoclet?  Is anyone working on this?
 
  AFAIK, at the moment nobody works on this...
 
 
 Which means you have a golden opportunity to
 contribute code to XDoclet ;-)
 Having ojb support would be great!

Oh no, I'm busy with hibernate composite IDs...

BTW, i made xjavadoc status red in JIRA, can you look
at this issue?

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] hibernatedoclet and sequence type generator

2003-01-03 Thread Konstantin Priblouda

--- Jozsa Kristof [EMAIL PROTECTED] wrote:
 Hi there from an old xdoclet-user :)
 
 First of all, I'd like to ask if that's the proper
 place to ask
 Hibernatedoclet questions.. if not, please ignore
 the parts of my mail below
 :)
It's correct. Though you may as well ask on hibernate
list. I'm monitoring it too :)
 Secondly, I wonder how the @hibernate.id tag's
 generator tag supports the
 'sequence' type, if it does. I tried to use it that
 way:
 
 @hibernate.id generator-class=sequence
 generator-class-param-1=seq_test
 
 but it seems that the generated hibernate descriptor
 xml leaves the
 sequencer's name empty.. Is there any other place
 where I should provide the
 sequence's name, or maybe that is not yet
 implemented, and at last, what's
 exactly generator-class-param-[123] for in the
 @hibernate.id tag?

Can you post your source ( java ) and what gets
generated?

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] Any plans to support auto increment fields for jboss???

2003-01-04 Thread Konstantin Priblouda

 I'm redeveloping a part of my universtiy's intranet,
 many tables in the
 database have auto increment fields and I can't
 change
 them. I've read in jboss forums that there is a way
 to handle auto
 increment fields but it isn't in xdoclet. Are there
 any plans to
 Integate it???

Autoincrement fields are major PITA for using in
EJB...
Short version is that you must set your PK in
ejbCreate, but it's called before any sql goes to
database...

Can you point us to those jboss forums?

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
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



Re: [Xdoclet-user] Need help with Value Objects and Struts Form Beans

2003-01-25 Thread Konstantin Priblouda

--- Luiz-Otavio Zorzella [EMAIL PROTECTED]
wrote:
 Hi,
 
 I'm creating both EJB Value Objects as well as
 Struts Form Beans from my
 Entity Beans. What I would like to do is have access
 to methods that
 could convert from one to the other, so I could
 avoid a long list of:
 
 value.setXXX (form.getXXX ());

AFAIK, There are is something to achieve this in
jakarta sandbox - uses reflection etc. 

And not a big deal to wrire it yourself. 


 Another semi-related question. I tried the tag
 entityfacade, but the
 file generated wanted me to be using the old Data
 Objects, rather than
 the new Value Objects. Any way to auto-create
 facades using Value Objects?

There is issue on JIRA about improvement of entity
facades:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-44

Currently they are very beta ( nevertheless usefull in
some cases ) - so please state your ideas there. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Need help with Value Objects and Struts Form Beans

2003-01-25 Thread Konstantin Priblouda

  AFAIK, There are is something to achieve this in
  jakarta sandbox - uses reflection etc. 
 
 Any pointers?

jakarta.apache.org/sandbox

I recall that there was somethign like beanutils...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] Re: [Xdoclet-devel] Castor bugs in JIRA

2003-01-27 Thread Konstantin Priblouda

--- Dmitri Colebatch [EMAIL PROTECTED] wrote:
 Konstantin,
 
 I feel somewhat responsible for the state of the
 castor module... problem
 is, (a) I'm not using castor any more, and (b) I'm
 not really using xdoclet
 much atm.  I'm happy to go through these and apply
 suggested fixes, or take
 whatever (quick) action is possible.  Problem is,
 that its going to go
 relatively untested.

Dito for me. I did not anything for  castor support, 
and do not use it in my daily developer life. 

I can apply patches, but no testing...

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



Re: [Xdoclet-user] xdocletgui problems

2003-01-29 Thread Konstantin Priblouda

--- kiuma [EMAIL PROTECTED] wrote:
 Hi all,
 
 I've successfully compiled xdoclet-all from CVS
 but now I have the following error on xdocletgui
 when I try to load a 
 folder or a file
 
 29-gen-2003 12.12.05
 java.util.prefs.FileSystemPreferences 
 checkLockFile0ErrorCode
 AVVERTENZA: Could not lock System prefs.Unix error
 code 1073922287.
 29-gen-2003 12.12.05
 java.util.prefs.FileSystemPreferences syncWorld
 AVVERTENZA: Couldn't flush system prefs: 
 java.util.prefs.BackingStoreException: Couldn't get
 file lock.
 
 and the component tree remains empty.
 Can you help me please ?

NOt exactly xdocletgui problem, but
FileSelwectionDialog. 
It looks that you do not have permissions to write to 
some directories, where jdk/jre attempts to store
locks etc. 

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
 http://www.pribluda.de   play java games - http://www.yook.de 
 render charts online - http://www.pribluda.de/povray/ 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



  1   2   3   4   5   6   >