Search:

Type: Posts; User: Fernando Olcoz; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    2,737

    Hi Rob, While it is certainly true that you...

    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...
  2. Replies
    24
    Views
    5,100

    So am I! (already ordered it :D ) But it...

    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...
  3. I see. In that case (a new instance of Sample is...

    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...
  4. Replies
    4
    Views
    2,737

    Why implement Serializable

    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...
  5. how to apply Factory design pattern into spring

    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>...
  6. Replies
    1
    Views
    1,138

    DI for abstract classes failing

    I think you just need to omit the class attribute from your abstract parent bean.

    HTH,
    Fernando
  7. Thank you Felix, you were right. The problem...

    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...
  8. Replies
    3
    Views
    1,784

    template for interceptor stack?

    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...
  9. That's right, the XML 1.0 specification indicates...

    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.
  10. Problem using parent abstract template bean

    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...
  11. Bean id may not start with a number

    See section 3.2.4 of the reference manual.

    F.
  12. Thank you very much Rob, that worked nicely! :D ...

    Thank you very much Rob, that worked nicely! :D

    Fernando
  13. DefaultAdvisorAutoProxyCreator ordering advisors

    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...
  14. Replies
    14
    Views
    5,357

    Books by Rod Johnson

    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....
  15. Replies
    12
    Views
    4,366

    Vicky, thank you for the info. Regards, F

    Vicky, thank you for the info.

    Regards,
    F
  16. Oh, I think I see where my error is. Most...

    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...
  17. I usually do something like the following: ...

    I usually do something like the following:

    File f = new File&#40;file.getOriginalFilename&#40;&#41;&#41;;
    String fname = f.getName&#40;&#41;;
    file.transferTo&#40;new File&#40;"/path/to/dir/" + fname&#41;&#41;;

    Hope this helps,
    F.
  18. Replies
    4
    Views
    2,883

    A beginners explanation (oh my!)

    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...
  19. Replies
    14
    Views
    5,357

    Worthy books/papers

    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...
  20. Replies
    4
    Views
    4,407

    Thanks

    Thank you very much guys, now it is clear :) .

    It is interesting to see how some framework usage idioms develop.

    F.
  21. Replies
    4
    Views
    4,407

    Sample code is multi-thread safe?

    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...
  22. Replies
    4
    Views
    4,407

    Sample code is multi-thread safe?

    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...
  23. Replies
    12
    Views
    4,366

    Scripting (and Yet Another Framework horror)

    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...
  24. Replies
    12
    Views
    4,366

    Mr. Johnson, Thank you very much for your...

    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...
  25. Replies
    12
    Views
    4,366

    Pooling target sources

    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...
Results 1 to 25 of 25