[Andromda-user] [Spring cartridge] [OCL contraints don't generate code]

2005-07-07 Thread ryan_marsh
I tried changing the attribute name to not use a capital. That didn't change anything. I'm still generating code with out those findBy operations. My class now looks like: +importantNumber : Long [EMAIL PROTECTED](importantNumber : Long) : List Quote: You've marked them with the query

[Andromda-user] [Spring cartridge] [OCL contraints don't generate code] OCL contraints don''t generate code

2005-07-06 Thread ryan_marsh
I'm following the Spring cartridge's how-to as an example of how to create finders for my entities (no EJB btw). I created operations on my entity exactly as the example shows, however no findBy methods are generated when I re-run. All my code is re-generated, but no findBy methods are in it. I

[Andromda-user] [Spring cartridge] [How safe is session per application?]

2005-06-23 Thread ryan_marsh
ok i see what you are saying. the business logic is *physically* in the presentation as in bundled in the rich-client, however *logically* in the design and actual package namespace it is clearly seperated. I am using controller classes in the domain that maintain complex business logic so it's

[Andromda-user] [Spring cartridge] [How safe is session per application?]

2005-06-23 Thread ryan_marsh
sorry, "it" not "them". *it* was getting late. but back to your suggestion of remoting, i can't talk directly to the dao's via remoting can i? i need a service facade right? i'm not sure if there's much advantage to using remote services in my case. how much less traffic is going to go accr

[Andromda-user] [Spring cartridge] [How safe is session per application?]

2005-06-22 Thread ryan_marsh
ok, i finally found one and how to gen them. this isn't what i was looking for. assuming i use no remoting is my initial example thread safe? _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1690#1690 Posting to http:

[Andromda-user] [Spring cartridge] [How safe is session per application?]

2005-06-22 Thread ryan_marsh
do i have to have a class with the stereotype Service in my model before it gens ServiceLocator? _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1689#1689 Posting to http://forum.andromda.org/ is preferred over posting

[Andromda-user] [Spring cartridge] [How safe is session per application?]

2005-06-22 Thread ryan_marsh
hrmm, it must be something else. all that is generated is my entities, daos, PrincipleStore, Hibernate Blob and Clob Type, and the CriteriaSearch classes. i've searched and not found anything and i get no errors during generation. _ Reply t

[Andromda-user] [Spring cartridge] [How safe is session per application?]

2005-06-22 Thread ryan_marsh
How do i turn on the serivce locator code generation in andromda.xml? It is part of the Spring cartridge right? here's what i'm doing in andromda.xml       ${andromda.modelValidation}     ${andromda.xmlValidation}     spring,hibernate,java               file:${basedir}/mda/src

[Andromda-user] [Spring cartridge] [How safe is session per application?]

2005-06-22 Thread ryan_marsh
Ok thanks. I think being a spring newbie is leading me to make some dumb decisions. I guess I had made some assumptions based upon my experience with multi-tier java apps from a few years ago. I was afraid of using big chunky EJB entities (oh the horrors of EJB circa 2000) when my client machin

[Andromda-user] [Spring cartridge] [How safe is session per application?]

2005-06-22 Thread ryan_marsh
Oh, duh the Service Locator pattern. :-) Yes I had planned on using something to do the job of a Singleton (and finding it). JNDI is too heavyweight when everything is located on the client (except for the database and a few ancilary web services) and I wasn't sure if it was safe to just use a

[Andromda-user] [Spring cartridge] [How safe is session per application?]

2005-06-22 Thread ryan_marsh
I'm a Spring newbie. :-) Is this something I'll find explained in the SpringFramework manual on their site? _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1680#1680 Posting to http://forum.andromda.org/ is preferr

[Andromda-user] [Spring cartridge] [How safe is session per application?] How safe is session per application?

2005-06-22 Thread ryan_marsh
I'm writing a rich client so I go about getting my spring bean factory a bit differently... but I wonder if this is thread safe (with SwingWorker threads running around outside of the event thread). ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(     new S

[Andromda-user] [Spring cartridge] [IoC?] Unit of Work

2005-06-22 Thread ryan_marsh
Thanks Chad! What prompted this question was me trying to figure out how to implement Unit of Work (per Fowler) within this approach. Does anyone have a best practice within the Spring DAO framework for tracking new, dirty, removed entities and federating inserting new, updating dirty, and

[Andromda-user] [Spring cartridge] [IoC?] IoC?

2005-06-22 Thread ryan_marsh
Ok, please excuse me for being a big dumb turd, I haven't touched Java in 3 years. There's this IoC craze going on and I'm trying to get with the program. I'd like to understand, what was the design justification in having DAO's generated for each entity in the domain model and (in my case)

[Andromda-user] [Performance] [knee deep in jars]

2005-06-19 Thread ryan_marsh
wow, thanks! you rock _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1497#1497 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ---

[Andromda-user] [Performance] [knee deep in jars] oops i meant 93!

2005-06-19 Thread ryan_marsh
oops, my bad, I meant 93 jars. Buildfile: build.xml init: run:      [copy] Copying 93 files to /Users/ryan/Projects/BayPortScratch/andromda-bin-3.1-M1-SNAPSHOT/ant/lib _ Reply to the post : http://galaxy.andromda.org/forum/vie

[Andromda-user] [Performance] [knee deep in jars] knee deep in jars

2005-06-19 Thread ryan_marsh
I'm not satisfied with number of jars that the project generators, both ant and maven, think I need to build and run my code. Because my code is going to be deployed as a rich client I'd like to stick to only what I need. So basically I should only need the hibernate and spring jars to run my c

[Andromda-user] [Project generator] [How to get Ant task to generate SQL]

2005-06-19 Thread ryan_marsh
created the bugs in JIRA. btw, thanks for the pointer, for some reason I thought that schemaexport wasn't ported to Hibernate 3. Maybe that was a beta I'm thinking about. _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?

[Andromda-user] [Hibernate cartridge] [Is anyone using hibernate 3 with AndroMDA?] Is anyone using hibernate 3 with AndroMDA?

2005-06-18 Thread ryan_marsh
If so, what has been your experience thus far? Also, why does AndroMDA ship with hibernate 3 by default? Is some work needed somewhere to make it more trustworthy with hibernate 3? _ Reply to the post : http://galaxy.andromda.org/forum/vi

[Andromda-user] [Project generator] [How to get Ant task to generate SQL]

2005-06-18 Thread ryan_marsh
oh wait, it's using the net.sf.hibernate.tool.hbm2ddl.SchemaExport crap, what if i want to use hibernate 3? there is no hbm2ddl in hibernate 3. _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1449#1449 Posting to htt

[Andromda-user] [Project generator] [How to get Ant task to generate SQL] How to get Ant task to generate SQL

2005-06-18 Thread ryan_marsh
The Maven plugin generates sql schema create/drop scripts. how do i get the ant task to do that? _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1448#1448 Posting to http://forum.andromda.org/ is preferred over posting

[Andromda-user] [Project generator] [templates/hibernate2/hibernate.hbm.xml.vsl not found]

2005-06-18 Thread ryan_marsh
It was the andromda-templateengine-freemarker jar. Thanks so much. Why are there both velocity and freemarker? I've got other issues now, just trodding through them till I can't get this working with my ant build files. _ Reply to the post

[Andromda-user] [Project generator] [templates/hibernate2/hibernate.hbm.xml.vsl not found]

2005-06-18 Thread ryan_marsh
Yah it can't find the other ones either for spring or java, even though the jars are in the classpath. BTW, here is what the errors all look like. ambiguity:~/Projects/BayPort ryan$ ant mda Buildfile: build.xml mda:  [andromda] INFO  [AndroMDA]  [andromda] INFO  [AndroMDA] A n d r o M D

[Andromda-user] [Project generator] [templates/hibernate2/hibernate.hbm.xml.vsl not found]

2005-06-18 Thread ryan_marsh
Thanks, yup it's there. _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1435#1435 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! -

[Andromda-user] [Project generator] [templates/hibernate2/hibernate.hbm.xml.vsl not found]

2005-06-18 Thread ryan_marsh
ok, understood. i can't try it on any other systems though. i'll try getting the latest snapshot and doing that first. _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1432#1432 Posting to http://forum.andromda.org/ is

[Andromda-user] [Project generator] [templates/hibernate2/hibernate.hbm.xml.vsl not found]

2005-06-18 Thread ryan_marsh
I'm not using maven. _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1430#1430 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!

[Andromda-user] [Project generator] [templates/hibernate2/hibernate.hbm.xml.vsl not found] templates/hibernate2/hibernate.hbm.xml.vsl not found

2005-06-17 Thread ryan_marsh
Using Ant and M1-SNAPSHOT I get the following error when trying to generate code from my model. --- AndroMDA Exception Recording --- Version : 3.1-M1-20050616110256 Error ..: Error performing ModelProcessor.process with model(s) --> '/Users/ryan/Projects/BayPort/mda

[Andromda-user] [Project generator] [Anyone using Ant?] Re: Anyone using Ant?

2005-06-16 Thread ryan_marsh
Thanks Wouter, I don't like Maven because I don't like the way it organizes the project folders, i don't want to change the way my project is organized because it fits me well, maven is slow, i don't like jelly and neither does the original developer, and i don't want to learn to write maven

[Andromda-user] [Project generator] [Anyone using Ant?] Thanks

2005-06-16 Thread ryan_marsh
Thanks Chad! [EMAIL PROTECTED] wrote: I know some people are using Ant instead of Maven. There isn't anything you can't do with Ant that you can do with Maven. The only thing is that the the andromdapp:generate plugin is obviously a Maven plugin and so therefore you'll miss out on that, b

[Andromda-user] [Project generator] [Anyone using Ant?] Anyone using Ant?

2005-06-15 Thread ryan_marsh
Before I embark on this voyage, is anyone using Ant instead of Maven? I absolutely despise Maven and I'm not going to shoe-horn it into my existing project. Basically, is there anything that I cannot do with AndroMDA using Ant that I can with Maven? Regards, -ryan ___

[Andromda-user] [Spring cartridge] [Generated DAO's] Generated DAO''s

2005-06-05 Thread ryan_marsh
What else in Spring do I need to do to make use of this generated code (the DAO's)? I can't just start calling into it can I? -ryan _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=782#782 Posting to http://forum.an