Hi guys,
I'm using Jersey, and Spring for AOP. In the rest tier, I need to set my proxy target type to be of the target class. This is due to resources not using interfaces (as expected). ...
Type: Posts; User: tnine; Keyword(s):
Hi guys,
I'm using Jersey, and Spring for AOP. In the rest tier, I need to set my proxy target type to be of the target class. This is due to resources not using interfaces (as expected). ...
Hi guys,
I'm going through all the demos for OAuth 2.0, and I'm now trying to set up my Authorization server. In our architecture we'll have 1 Authorization application, and several resource...
Hey guys,
I've tried to build with no joy several times now from the latest master branch. I'm using maven 3.0.3. Here is the output from my build.
...
Hi All,
I have a problem and I'm unsure how to approach it. I've used spring since v 1.0, and I'm very comfortable with the framework. Here is our use case.
* We must have 0 downtime
*...
Hi Dave,
Thanks for the input. I've played a bit more, and I've encountered 2 major issues.
1. Using maven 2 with the latest release 2.1.6.RELEASE,, it causes issues with transitive...
Hi Dave,
Essentially I envision the implementation to be similar to our in house SEDA framework. We use a P2P architecture in our java application runtime nodes, and use ZK too coordinate peers...
Hi all,
We're currently using Quartz in a distributed environment. I've written my own JobStore that uses a combination of Zookeeper for distributed scheduling/locking and Cassandra for...
Here's an example class for anyone else looking for this answer. Note that this assumes the application context has been set into the scheduler context with the given key
/**
* @author...
Hi all,
I want to create an extension of the SpringBeanJobFactory that performs annotation scanning and auto wires dependencies from an application context. Which class in the framework do I use...
Hi all,
Our app uses a mix of JDO and straight DAO objects. I have created an interface "MigrationCapable". I'm using @Autowired in the following code.
@Configuration
public class...
Hi all,
I'm having some weird issues using JoinPoints for custom validation interception. I have defined the following annotations.
/**
* Annotates methods arguments that should be...
Ok, I just solved my own issue. I have another service "ClusterManager". It has this code in it.
@PostConstruct
public void setupListeners(){
Map<String, IClusteredService> beans =...
Hi all,
I have 3 services that are running to coordinate my distributed queue environment.
IElectionWatcher
INodeWatcher
IPointQueueLoadBalancer
I have the following @PostConstruct methods...
Hi all,
I have a situation I'm having a bit of trouble with. I have a factory bean I've created to created my own Quartz Scheduler as the factory provided in spring doesn't meeT my needs.
...
There is no dependency between all the services. All of these spring service singletons run independently of one another within JVMs and use Zookeeper to stay coordinated across the cluster. I've...
Hi all,
I have a relatively straightforward issue I can't seem to find an answer for. We're implementing clustering via spring beans, and I need to make sure beans with @PostConstruct are called...
Hi all,
I'm new to Spring Batch, but I've used Quartz quite a bit in the past. We have a distributed environment that uses ZooKeeper to perform leader election, as well as keep grid jobs...
Hi all,
I'm implementing a JDO adapter for Datanucleus using Cassandra. Everything works with just my plugin, however when I wrap it with spring for our application, we're getting some really...
Hi all,
I have several services I need to run as executable jars. They're simply worker processes in a cluster, so EJB and JBoss is overkill. What is the best CommonJ implementation for...
Hi all,
I'm creating an event wrapping system that makes use of the ApplicationEvent framework within spring. I have essentially 3 types of events.
Synchronous
Asynchronous
Future
...
Hi all,
I'm having a very strange issue. I've written an aspect that performs validation on our DAO tier for all model objects that have the @Check annotation on them. Here is my code
...
I think I finally have it. I have this for my expression
@Before(value="execution(* *(..,@com.aviator.validation.Check (*),..))")
From my understanding of the syntax, this means before...
I've figured out the problem. Since my annotations will be on my target, I'll need to change my annotation reflection to be on the target object, not the joinpoint. I have the class below. However...
Hi all,
I'm writing a JSR 303 aspect that will validate input into our service tier. This thread was very helpful getting my before advice matching set up.
...
For anyone else who reads this, I changed a few things. First, I gave up on detecting specific method argument with the AOP syntax, I simply couldn't get it to work. Instead, I now annotate the...