I'm looking at various middleware solutions and I like the idea of avoiding sledgehammer-to-crack-a-nut-EJBs. The Spring Framework appears to be one solution. Has anyone used this framework? What pitfalls are there? What was it run on? What alternatives are there? Lend us yer code...
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
J2EE without the bloat - Spring, what else?
Collapse
X
-
-
Spring is excellent. I used it to build this - http://blx1.bto.org/btos/Originally posted by MildredSnatchI'm looking at various middleware solutions and I like the idea of avoiding sledgehammer-to-crack-a-nut-EJBs. The Spring Framework appears to be one solution. Has anyone used this framework? What pitfalls are there? What was it run on? What alternatives are there? Lend us yer code...
Used it in conjunction with Hibernate - http://www.hibernate.org/ for the persistence layer - and Andromda - http://www.andromda.org/ - to generate the DAOs and DTO/service stubs from a UML diagram
As for lending you my code, sure, why not? - http://mpsc-modules.sourceforge.net/ -
AndroMDA - manna from heaven?
Cheers Cowboy Bob
AndroMDA - I'm skim reading it and it appears to be too good to be true. Is this one of those "I draw pictures, it writes the code" sort of thing? What are the pitfalls? In a management precis. In bullet points. Of ten words or less.
http://blx1.bto.org/btos/ looks good. I'm very tempted by "Identification Guide to European Non-Passerines".
Thanks for your code... but it's appears to be documented. What are you playing at?Comment
-
Andromda is great. It doesn't write your code for you, but say you want to add an extra column to a DB table, you add it to your UML diagram and it adds it to your DTOs and stubs (as well as your Hibernate config files) automatically so you don't have the chore of updating all those objects and XML files manually.Originally posted by MildredSnatchCheers Cowboy Bob
AndroMDA - I'm skim reading it and it appears to be too good to be true. Is this one of those "I draw pictures, it writes the code" sort of thing? What are the pitfalls? In a management precis. In bullet points. Of ten words or less.
http://blx1.bto.org/btos/ looks good. I'm very tempted by "Identification Guide to European Non-Passerines".
Thanks for your code... but it's appears to be documented. What are you playing at?
There aren't really any pitfalls, as long as you remember that it doesn't write any logic for you. You also need to keep an eye out for lazy loading issues with Hibernate as Andromda isn't intelligent enough to manage that kind of thing. If you're happy to use the "Open Session In View" pattern then those problems go away, but if you want finer grained control then you need to keep a close eye on what Andromda generates for the Hibernate config files.
As for documentation, that is a low priority at the moment as I've got sh!tloads of other work on. The JavaDoc is all there and up-to-date though.Comment
-
Thanks for the guidance about AndroMDA - I'm getting cracking with it now.
I was being ironic about the documentation - sorry if it appeared otherwise - you've provided lots of documentation throughout the code. I wish I was always so diligent.Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers

Comment