After starting an upgrade from Spring 1.2.6 to 2.0.2, I am wondering how to treat the different JAR files that Spring needs.
Section 2.7 of the Reference Documentation suggests that "upgrading to...
Type: Posts; User: Thomas Matzner; Keyword(s):
After starting an upgrade from Spring 1.2.6 to 2.0.2, I am wondering how to treat the different JAR files that Spring needs.
Section 2.7 of the Reference Documentation suggests that "upgrading to...
I'm currently writing quite a few batch programs, i.e. non-Web applications being started from a main method.
Each of these programs should logon to the data bases using its own dedicated...
Thank you, Costin, that's what I had hoped it would be like.
Currently, I try to decide whether to employ OSIV for a production system, despite of several warnings against it. There is one potential danger that particularly puzzles me.
Quotation from...
Thanks Colin! The alternative would have been to reduce the length of the error messages :-))
I don't quite understand the problem. If the view contains edit fields, then a form has to be POSTed, and I'd use a SimpleFormController. If the user just pushes a button without entering data, so...
If I can, I put the two buttons into separate HTML forms. I let those forms issue two different actions, which I map to two different controllers in my SimpleUrlHandlerMapping. However, I only do...
MDA is a wonderful solution for most of the problems I stated. Therefore, if MDA features were available for Lord, his management might have reacted quite differently, realizing the big productivity...
Hi Colin, your location appears to be on the Northern hemisphere, which means your next summer is about 8 months away (just as mine). Could you please make it a winter intern instead?
Joking...
Being my own project manager presently, I still have some criticism of writing software products partially in XML. I contribute that here for the sake of professional opinion-building. Don't show my...
No need of a crystal ball, I think we are talking about quite the same task.
It's just that I don't want to use the factory pattern everywhere, for every little object in my app. I have about 50...
Thanks, Karl. Under Spring, is this equivalent to getHibernateTemplate().lock(pers, ...) ?
Thanks for both hints. I'll have to do some studies during the weekend to find out about their implications.
Concerning Alarmnummer's solution, I'd not like any classes that need C to have to know...
I know one shouldn't post about this topic here anymore, as it has been covered thoroughly in past threads, and in articles outside this forum.
I have studied all those, and of course included...
Thanks for the hint, Costin, but that's the trick I'm missing somehow. All the examples I see inject values into singletons, at startup time. I'd need to declare an inject that should be done...
I created my DAOs as plain-vanilla singletons, with other singleton classes, mostly controllers, just declaring the interface, say SomeDao, and getting the implemented class, say HibernateSomeDao,...
It's a little euphemistic to claim that "All existing posts should have come across without issues." All links inside a post pointing to another post appear to be broken. Therefore, whenever a post...
I don't know anything yet about a deferred solution, so when I said "both" ways, I was optimistic about finding a way after following your suggestion to try with JavaScript.
If it's really only the views that are different, then there is an elegant way to solve your problem:
- Define a model that contains everything that both of those views might want to display.
-...
That security argument is valid, of course. If I stored the file paths and got the files later, I might change the paths, therefore getting whichever file from the user's disk that I might be curious...
The dialog anchor has a defined data structure, not containing collections that may grow in an uncontrolled way. It's just the union of all the form backing, model, and command objects one would...
I take a different approach to solve that problem. I have one object that I call the dialogAnchor, that collects references to all objects the user touched during his dialog. This sounds huge, but of...
I am writing a web application that allows the user to enter large multimedia files, together with descriptions of what they contain. Therefore, each page contains string, number, date,... fields,...
In my message.properties, a few of my message texts contain special characters like &039; or —. On the browser of the running application, these are displayed just as those character strings,...