Hi Rob,
While it is certainly true that you can store objects that do not implement Serializable in HttpSession, some servlet containers issue a warning when you do so. I guess this is because the...
Type: Posts; User: Fernando Olcoz; Keyword(s):
Hi Rob,
While it is certainly true that you can store objects that do not implement Serializable in HttpSession, some servlet containers issue a warning when you do so. I guess this is because the...
So am I! (already ordered it :D )
But it seems like there's something weird with the book's info at Amazon.com; on one hand it looks like it will be available from February 7, 2005 and on the...
I see. In that case (a new instance of Sample is needed every time) I guess the easiest way would be to make SampleFactoryImpl implement BeanFactoryAware, as you said coupling the factory...
Being serializable is useful in a number of situations:
object has to be transferred across the wire,
object may be stored in some kind of permanent storage,
object may be stored in the...
Hi all,
Sorry if I am not getting the point, but what is wrong with the following approach?
<bean id="SampleFactory" class="SampleFactoryImpl">
<property name="samples">
<list>...
I think you just need to omit the class attribute from your abstract parent bean.
HTH,
Fernando
Thank you Felix, you were right.
The problem lies in the autowiring stuff; it just manifested itself only when I took the parent template bean approach. I changed all the transaction-whatever...
Hi Felix,
I am also interested in that approach. If you read my recent posting (http://forum.springframework.org/showthread.php?t=12675) you'll see that I tried to create a parent...
That's right, the XML 1.0 specification indicates that the ID attribute cannot start with a digit (it can start with an underscore or a colon, though.)
HTH,
F.
Hi,
I am currently in the process of determining the "best" way to introduce the usage of Spring into our development processes and teams.
As part of that, I am exploring the several ways Spring...
See section 3.2.4 of the reference manual.
F.
Thank you very much Rob, that worked nicely! :D
Fernando
Hi all,
Does anybody know if there is some way to specify an order to the list of advisors applied by DefaultAdvisorAutoProxyCreator?
Although ideally aspects should be orthogonal, sometimes...
Hi all,
I've read both "J2EE Design and Development" and "J2EE Development without EJB" of the expert one-on-one series by Rod Johnson. I think both books can be recommended without hesitation....
Vicky, thank you for the info.
Regards,
F
Oh, I think I see where my error is.
Most likely you are using some non-Windows platform at the server side. Since File specifications are not portable across platforms, the server-side created...
I usually do something like the following:
File f = new File(file.getOriginalFilename());
String fname = f.getName();
file.transferTo(new File("/path/to/dir/" + fname));
Hope this helps,
F.
Hi Daniel,
I am also a newcomer to Spring-land and my english is at least as poor as yours but, nevertheless, I will try to explain what Spring means to me. Of course other people may think...
Hi all,
I'd like to initiate a topic on books, papers, etc, related to software architecture that you people have read and found worthy.
For a start, I would recommend the book "Business...
Thank you very much guys, now it is clear :) .
It is interesting to see how some framework usage idioms develop.
F.
Rod,
Yes I know you mention JdbcTemplate is thread-safe in both documentation and your books (at least the first one, I recently bought the second one but still waiting for delivery, so don't know...
Hi,
Taking a look to the sample code of section 10.2.5 of the reference documentation (Data Access using JDBC) I am left wondering whether it is multi-thread safe, since several methods share the...
Rod
Yes, that's exactly the motivation.
Actually these "rhino engines" I mentioned are part of an internally used J2EE framework I developed a few years ago for the company I work for. Although...
Mr. Johnson,
Thank you very much for your prompt answer! :D
Changing property "target" to "targetObject" did the trick (as I should have known if taken the time to read...
Hi all,
Reading the reference documentation (version 1.0.2) on the subject I miss some examples that would provide guidance on the expected usage pattern, when exactly are beans released to the...