Search:

Type: Posts; User: Stefan Arentz; Keyword(s):

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,001

    IDEA for Development?

    Most of the tutorials use Eclipse for Spring DM / OSGi development. I'm just getting my feet wet with the stuff and I am wondering if Eclipse is really a requirement as I would prefer to do my work...
  2. Can the Spring App Platform forums be moved here?

    To be honest, I think the forum software on SpringSource really sucks. Is it possible to simply move it over here to vBulletin? Doesn't it also make much more sense to keep all discussions at one...
  3. Thanks Costin. Changing all the repository URLs...

    Thanks Costin. Changing all the repository URLs *and* removing ~/.m2/repository/org/springframework did the trick!

    S.
  4. Hi Costin. Even with that change I still get the...

    Hi Costin. Even with that change I still get the two missing dependencies listed in my previous messages.

    Are those supposed to be in the Spring repository?

    S.
  5. The Maven repository seems to be messy. The...

    The Maven repository seems to be messy. The hostname mentioned does not work and if I use the equivalent S3 hostname, maven.springframework.org.s3.amazonaws.com, I get the following errors:


    ...
  6. Thanks Stefan, the AopUtils.getTargetClass was...

    Thanks Stefan, the AopUtils.getTargetClass was exactly what I needed!

    S.
  7. Detecting Proxies and using Bean Introspection

    I need to create a prototype bean and then iterate over it's properties. I've been doing this with java.beans.Introspector and that works fine.

    However, when the prototype bean has a method that...
  8. Replies
    25
    Views
    11,096

    MapMessage? :-) S.

    MapMessage? :-)

    S.
  9. Replies
    25
    Views
    11,096

    I actually think JMS is perfectly fine for these...

    I actually think JMS is perfectly fine for these kind of tasks.

    It more robust than spawning a thread. What happens to your thread if the server is stopped or the machine reboots? How do you...
  10. Does it make sense to make MessageListener#onMessage @Transactional?

    I have a DefaultMessageListenerContainer together with a MessageListener that needs to access a JPA @Repository.

    Does it make sense to annotate onMessage() with @Transactional, or is that not not...
  11. Anyone using Spring/AOP in a J2SE and IDEA 6.0 environment?

    It seems like most people here use Eclipse with all it's built-in AOP/AspectJ goodness. But I am really an IDEA user, so I would like to ask if that is actually a good platform to use when we start...
  12. Hmm interesting. I think I could do something...

    Hmm interesting. I think I could do something along those lines and then hide the 'ugly' :-) spring config in a Spring XML extensions like <pr:imageProcessor .../> or so.

    Hmmmmm. Needs to be in my...
  13. Replies
    1
    Views
    715

    Dealing with Threads

    I have a bunch of beans that start new threads to do some kind of background processing. Most of these need to be threads and cannot be periodic tasks unfortunately.

    Right now simply make my beans...
  14. Programmatically creating/configuring Spring components

    I sometimes am in the situation where I really just want to expose a high level object to the Spring configuration and take care of certain details in the code.

    For example, I have a...
  15. I have web service methods that look like ...

    I have web service methods that look like

    Stuff[] getStuff(int max)

    Which you basically implement with

    while ((stuff = receiveNoWait()) != null && result.size() != max) {
    ...
  16. Which dont' help me. There IS is reason why...

    Which dont' help me. There IS is reason why receiveNoWait() exists :-)

    Anyway, it was pretty simple to implement on top of JmsTemplate. So I did that.

    S.
  17. JmsTemplate and javax.jms.MessageConsumer.receiveNoWait()

    Would it be possible to add support for receiveNoWait to JmsTemplate? That call makes sense for apps using a polling model.

    S.
  18. Replies
    12
    Views
    2,749

    Ok so I've been having a lot of fun with...

    Ok so I've been having a lot of fun with discovering AspectJ this weekend :-)

    I've got a really simple solution for my problem. Not complete yet, but a good start.



    public aspect...
  19. Replies
    12
    Views
    2,749

    Hm ok so I simply subclass...

    Hm ok so I simply subclass AbstractBeanConfigurerAspect like AnnotationBeanConfigurerAspect and define the abstract beanCreation pointcut I guess :-)

    What is a good recipe for dealing with...
  20. Replies
    12
    Views
    2,749

    @Configurable and Serializable objects

    I'm trying to get @Configurable to work with Serializable objects. What I basically want to do is make @Configurable do it's thing when an object is read from an ObjectInputStream.
    ...
  21. Need feedback: Working on a JBoss Spring Deployer

    Howdy.

    I'm working on an extension for JBoss (4.x) that allows you to easily package and deploy Spring applications. This is mostly for a specific use case of our own but since we are committed to...
  22. Replies
    13
    Views
    2,364

    Spring 2.0 allows you to create 'macros' for...

    Spring 2.0 allows you to create 'macros' for that. See http://www.springframework.org/docs/reference/extensible-xml.html for more info. This is very useful if you have a lot of beans that look alike....
  23. Replies
    3
    Views
    2,779

    What about an OSGI forum topic here?

    Or is it too early? Personally I think it will be good to get some discussions started. Even if it is all still under development.

    S.
  24. Interesting question. I'm struggling with the...

    Interesting question. I'm struggling with the same at the moment.

    I've done a couple of things in the past:

    Run a customized and minimal JBoss with the Spring Deployer. This works pretty well...
  25. Replies
    4
    Views
    1,275

    I'm looking for something more generic than a...

    I'm looking for something more generic than a servlet container. I'm actually looking into OSGi right now, which seems to be a good fit for what I want: packaging spring applications in deployable...
Results 1 to 25 of 101
Page 1 of 5 1 2 3 4