'Amazon SWF Flow framework for Java without AspectJ

Is anyone have an example on how to use SWF flow framework without AspectJ?

i.e. how to write this sample without AspectJ?

@Asynchronous
private Promise<String> getGreeting(Promise<String> name) {
   String returnString = "Hello " + name.get() + "!";
   return Promise.asPromise(returnString);
}

Thanks!



Solution 1:[1]

You can try Glisten framework by Netflix which is a groovy framework on top of Flow. Your mileage may vary.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Setheron