Great post, bring me big help, thank you.
Type: Posts; User: gengshg; Keyword(s):
Great post, bring me big help, thank you.
I'm not a dm server expert, but I'm one of dm, I don't think there is stuts2 support in dm server, (did you see one for struts 1). detailed mvc support is not a goal of dm server.
Hi, every one:
I'm new to dm server, I have a question: If I have hibernate mapping resources accross bundles, can I load them into one SessionFactory?
Or, do I have to pack all of them inside...
Hi, every one,
I'm new to dm server, my problem is: if I have mapping resources across bundles, how can I load them into one sessionfactory. Or do I have to reside all of them in one bundle only?...
It's not easy find out what's wrong here. But I was thinking about when I run in eclipse pde, I don't need to import those package in jre but not java.*, but in standard OSGi runtime, I...
excuse me, Lutz, what do you mean by SEAM? could you please give some more info.
If this is true, then one class at two classloader will cause:
compare of their type = false;
not able to cast;
I really don't know why org.springframe*jasper* has a copy of...
Because OSGi based app is composed of a network of classloader, there is difficulties tracing class dependency, import export issue usually not caused directly by provider-consumer bundles, but...
What you mean here concerns two question:
1. ignore osgi's namespace parsing
2. compose osgi's dependency as bean IoC
My oppinion is implement spring namespace handler to overide...
AnnotationProcessor is the supper type of DefaultAnnotationProcessor.
It seems these two are reside and referenced from different bundles. So could you please trace out where, and...
Neither is a problem of JUnit nor DM, it seems a problem of your bundle's import-package export-package issue. Try to add them.
I didn't try it this way, but theoreticlly, it will work, and make it work, you need to have a clear view of OSGi and DM.
Of cource you can, but a pre condition is your TransactionManager is a service, so it is global(one instance).
I did not use ServiceReference within DM, but actually one SR apply to one S, when you say the collection, sure you don't have the same way access the SR.
My suggestion is, first, test if your client code work as a normal java app. Theoretically refactor your client to OSGi will work too.
Quickest way is, insert everything...
OSGi is not something addressing remoting, but distribution idea in OSGi is bundles deploy everywhere.
For SOA's long history, distributed computing has exhausted...
I think you question as a maven user is something real.
I'm using eclipse PDE(and equinox as runtime), is easy for us to see those bundle dependencise(unsatisfied), and every thing...
I have not ever used this maven plugin to generate bundle, but definitely, import *extender into your bundle is wrong. You counld remove this import by hand, and run again.
Our architecture is every thing as a bundle, include struts 1, each web app module as a bundle as well, and there is one spring-security bundle who provide the...
Thank you for your reply.
Your idea gives me clue.
Here is my vision:
To use event from spring's bean publisher and listener need at lease all beans extend superclass, and...
Hi topherfangio, Contin
I can see what happened within your work. I think spring.context import javax.jms was nothing wrong, but your app export javax.jms is not really good.
I think OSGi has...
Hi rudi s,
Costin was right that you would better start with DM's simple sample to really understand DM's architecture.
When I review your problems, I think your app might be on a wrong...
Thank jborrmann for your reply:
My first idea to use jmx is it's STANDARD, and is easier to be implemented as independent(decouple) from DM and would run as a option for DM. Also, management of...
Another hint is Services referenced from other bundle are proxy, not the object itself (the proxy was add by DM), would this be help?
Infact, proxy would also be held by Map, but with...
For you first question, my opinion is leave the javax.persistence jar into your jre's endore directory, this might be the quickest way to solve.
My experience is JPA or Hibernate...