[jboss-user] [EJB 3.0] - Re: Limit IP access to a session beans (EAR)
I see... I'm sorry I can't help you further. I don't know much abuout JBoss specific configuration. However, I'll keep an eye on this thread as your question is very interesting :-) Good luck, xmedeko!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240295#4240295 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [URGENT] Deploying an EJB using Metro and persistence
I don't know metro... but I don't think it is EJB-aware or EntityManager-aware without some kind of configuration... is it? If you're not using an EAR... I guess you need to configure which EJB you want to call from within your web application (as your web service reside into your web application). I think that deploying everything into a single EAR file makes all the modules within it a single application, so injection has a better chance to work. However, I've never deployed WARs into the same server I deploy EJBs... so I've never tried... Good luck!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240293#4240293 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Limit IP access to a session beans (EAR)
I don't know J2EE deep enough to be sure... but I don't think you can, I'm affraid. Web applications have concepts like "HttpRequest" with which you can get things like IP addresses... but AFAIK there is no such concept in EJB. Anyway, I think the point in J2EE applications is to grant or deny access through the concepts of authentication, authoritation, users, roles... I don't know of a specific security mechanism in which IP addresses is in mind... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240287#4240287 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [URGENT] Deploying an EJB using Metro and persistence
Can you give more information about how you deploy it? Do you use a single EAR file? If you don't do so, it could be the reason for @EJB and @PersistenceContext to fail... Good luck! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240282#4240282 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EntityManager through JNDI: Is it container managed?
Hi all, I'm starting a development that will be deployed into JBoss. I'm trying to reuse a bunch of classes I'm currently using in a J2SE application. These classes do already use JPA and get EntityManager through a JNDI lookup. I don't want to convert them into EJB so I can keep reusing them. I have successfully obtained EntityManager through JNDI from within JBoss by adding the following line into "persistence.xml" file: | Just to make sure I'm getting the right EntityManager, I've System.out.println'ed both the injected one and the one I retrieve via JNDI... and they're not the same!!! Is this ok? Or does it mean that the one I get through JNDI isn't container managed or something? Thanks a lot for your help. Regards, Miguel Angel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240265#4240265 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user