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...
Type: Posts; User: Stefan Arentz; Keyword(s):
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...
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...
Thanks Costin. Changing all the repository URLs *and* removing ~/.m2/repository/org/springframework did the trick!
S.
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.
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:
...
Thanks Stefan, the AopUtils.getTargetClass was exactly what I needed!
S.
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...
MapMessage? :-)
S.
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...
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...
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...
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...
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...
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...
I have web service methods that look like
Stuff[] getStuff(int max)
Which you basically implement with
while ((stuff = receiveNoWait()) != null && result.size() != max) {
...
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.
Would it be possible to add support for receiveNoWait to JmsTemplate? That call makes sense for apps using a polling model.
S.
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...
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...
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.
...
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...
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....
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.
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...
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...