Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse, Annotation "@Asynchronous"(Problem with the annotations)
Eclipse, Annotation "@Asynchronous" [message #1060429] Fri, 24 May 2013 11:24 Go to next message
Marius Sørenes is currently offline Marius Sørenes
Messages: 1
Registered: May 2013
Junior Member
Hi!

I am new to eclipse and i am programming a app in java, where i will be using some async methods, so i searched the web/google for async demos and i found a few snippets, but they all require a annotation. @Asynchrounous is the one, but when i try to assign it to a void it show me that it cannot be detected.

I really could use some held if any of you is kind enough to help Wink i uploaded a image to show the problem.



Best regards

Marius
Re: Eclipse, Annotation "@Asynchronous" [message #1060434 is a reply to message #1060429] Fri, 24 May 2013 11:49 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 1857
Registered: July 2009
Senior Member
Not knowing what that is, Google seems to point to it being an EJB annotation. Is there a server your project should be targeting, or a jar that should be on its Java Build Path that is not?

Either way, it looks like more of a general EJB programming question than something specific to Eclipse. You might find more help for EJB programming and using the related annotations from http://www.theserverside.com or the JavaDoc for the annotation itself at http://docs.oracle.com/javaee/6/api/javax/ejb/Asynchronous.html .


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Permgen error
Next Topic:Debugging Error - Conflicting handlers for org.eclipse.wst.sse
Goto Forum:
  


Current Time: Tue May 28 04:25:18 EDT 2013

Powered by FUDForum. Page generated in 0.01472 seconds