"xinu" wrote :
| My problem was that I was using javax.ejb.EJB, which presumely superceded
javax.annotation.EJB in the specs and Sun's docs. Or vice versa--Sun's docs
all say javax.ejb.EJB, but I'm rather surprised I can't find any references to
it changing packages.
|
| Using javax.ann
"rpiaggio" wrote :
| I am having the same problem. Cannot get @EJB to work at all. Deployment
works fine and if I do a .lookup also works. Any hints?
|
Actually, after toying a bit more, I got it to work in some cases.
But there's a case where it doesn't work
"asack" wrote : As I stated before and in the FAQ/WIKI, @EJB works within EJB
modules, not outside them, i.e. dependency injection from a WAR. The good news
is that Servlet spec 2.5 (I think that's the version, i.e. the next one), will
add depedency injection notation to WARs but the current re
Hi everyone,
I am trying to use the Timer Service to do an automatic cancellation after a
certain period has passed since the last modification to each record/entity in
the database (unless the record is competed or cancelled) .
For this purpose, I do the following:
| - I added a TimerHandle
Nobody else is using TimerService??
I have an additional problem: I tried relocating the logic in the Entity bean.
But this does not work at all since resource injection is not working in
entities. Is this the expected behavior?
View the original post :
http://www.jboss.com/index.html?module=b
I noticed I can annotate the same interface with both @Local and @Remote. This
is convenient, since most of the time I use the same interface for both kinds
of access.
When I do this, will the application server automatically realize when the
caller is local and not go through all the overhead
What if I use @EJB injection of the interface on the caller?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947476#3947476
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947476
After some tests, it seems you are wrong.
I had a call to a session bean method explicitly through an interface that was
annotated as @Local. The call passed a non-serializable Entity bean as a
parameter. This worked OK. (Caller and callee are part of the same application
and are in the same JA
Makes sense.
If it is illegal, shouldn't I get an error (or at least a warning) when I
compile (or at least deploy)?
After all, one of the reasons we use Java is not to shoot ourselves on the
foot. ;)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948058#39
I found out that if a timer service Timeout fires while I am redeploying an
application, then the event is NOT exectued after redeployment is complete.
This means I cannot rely on the timer service and forces me to do manual
timestamp checks. Is this the expected behavior?
(At the moment I´m st
I am working with JBoss IDE and have a very basic EJB 3.0 application running.
I am trying to reverse engineer it to automagically create a Seam CRUD web
skeleton using the Hibernate Code Generation tool. Is such a thing possible?
(without specifying a database)
I DID declare the Entity classes
Ok, there seems to be someone else with the same problem here
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936104#3936104
So, I should also mention:
I do have the "Enable hibernate EJB3" checkbox checked.
I tried restarting JBoss IDE and I still have the error.
View the original pos
"[EMAIL PROTECTED]" wrote : show me a screenshot of your console configuration
Well, the hibernate.cfg.xml looks like this:
| http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
|
|
| org.hibernate.dialect.MySQLDialect
|
|
"[EMAIL PROTECTED]" wrote : the criticial point is the console configuraiton
(double click on it in the console configuration view and in the shown dialog
there should be an enable ejb3 checkbox)
sorry, got configurations mixed up.
console configuration is here: http://200.40.100.106:8080/raul/
i was using beta 4a but now i tried with beta 5 and i still have the same
problem.
i will put it in jira next week
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940267#3940267
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=re
"Stefan Arentz" wrote : "Juergen.Zimmermann" wrote : In the zip I downloaded
via sourceforge there are only 2 subdirectories: docs and lib. There is no
client subdirectory.
| |
|
| Check the other download ... jboss-EJB-3.0_RC8-FD.zip
|
| S.
|
Stefan,
That's the one I downl
Is there a way to tell Seam that we don't want it to instantiate Seam-managed
variables automatically?
Basically, what I have is the following:
@Entity
| @Name("currentUser")
| @Scope(ScopeType.SESSION)
| @Roles({
| @Role(name="loginUser", scope=ScopeType.EVENT),
| @Rol
The reason why I am making it a Seam component is to specify the scope in one
signle place in the code.
If I don't make it a Seam component, then I have to specify the scope in every
outjection. This means that if I want to change the behavior it in the future
then I will have to change n place
Let me rephrase:
Is there a way to specify a default Seam scope for variables that are not Seam
components?
If not, can we turn it into a feature request?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952057#3952057
Reply to the post :
http://www.jboss.c
Thanks for considering it, Gavin.
However, I don't like it either because it doesn't fully solve the problem: in
the example above, the same class would be used as a Seam component in some
roles but not in others.
My suggestion: a "create" property in the @Role annotation (and in @Scope?).
Def
Is there a way to propagate a variable from a nested conversation into its
"parent" conversation?
Thank you!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955576#3955576
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
"[EMAIL PROTECTED]" wrote :
| If you begin a pageflow while rendering the page (eg. from an @Factory or
@Create method while pulling data for the page), you should no longer begin the
pageflow with a . This was an extremely inelegant model, since it
implied a transition into the page we are a
"[EMAIL PROTECTED]" wrote : Have your start-node transition directly to a
decision node. When the process is signaled, you will go through the decision
node and, I assume, to a page node for display. If you are in the situation
mentioned where you need use start-page, you I guess you'd need to
http://jira.jboss.org/jira/browse/JBSEAM-300
I also included some sueggestions for possible ways to implement it.
Thank you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956654#3956654
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
How do I specify the pageflow to start from pages.xml?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956659#3956659
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956659
--
I think it is great to have a component for email manipulation, but IMHO this
concern is orthogonal to that of a web framework. Including something like this
in the Seam standard would add unnecesary complexity to the framework and its
documentation. Again, IM(Very)HO, I see a place for a reposi
That's what I was doing when I said:
anonymous wrote :
| | @Begin(pageflow="PaymentAuthorization")
| | public voidstart() {
| | }
| However, if I started via a GET (calling the above method via pages.xml) ...
When I do that, I get the Clas
27 matches
Mail list logo