Re: OpenEJB's Context doesn't support bind, rebind and unbind?

2011-06-22 Thread Andre Brito
David, It's not OpenEJB specific. We use the same properties to configure a JKS public certificate in JBoss too. System.setProperty(javax.net.ssl.trustStoreType, JKS); System.setProperty(javax.net.ssl.trustStore, the path to the JKS file);

Re: OpenEJB's Context doesn't support bind, rebind and unbind?

2011-06-21 Thread Andre Brito
David Blevins-2 wrote: If anything we ignore the System properties after startup. Hey David, so even if I use SystemInstance.use().setProperty, OpenEJB won't recognize that? This system uses OpenEJB, Axis2 and a JKS file for security. Have you ever heard someone using something like this?

Re: OpenEJB's Context doesn't support bind, rebind and unbind?

2011-06-17 Thread Andre Brito
That gave me hope, but I tried and doesn't work either. Not a problem, I will leave it with 2 JVMs. Thanks David :-) -- View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-s-Context-doesn-t-support-bind-rebind-and-unbind-tp3580780p3605268.html Sent from the OpenEJB User

Re: OpenEJB's Context doesn't support bind, rebind and unbind?

2011-06-16 Thread Andre Brito
This question came up in a meeting: is it possible that OpenEJB protects or locks its JVM? We try to set some properties (using System.setProperty) and it doesn't work. We start another JVM (OpenEJB independent), set the properties and, guess what, it works. Regards, Andre. -- View this message

Re: OpenEJB's Context doesn't support bind, rebind and unbind?

2011-06-13 Thread Andre Brito
I don't think the effort is valid. As you probably remember, I'm trying to migrate our server. We were using JBoss, and apparently the rebind method has been used without the knowledge of what really is for (I was not at the company when it was wrote). I removed and didn't had any problems without

Re: OpenEJB's Context doesn't support bind, rebind and unbind?

2011-06-13 Thread Andre Brito
David, I'm not using anything like that. Apparently, the developers that were using JBoss didn't used that kind of naming too. To tell you the truth, I'm not using a lot of EJB features. Just the basics. It's not a very sophisticated app, apparently. It uses JavaMail, WebServices (Axis2), and

OpenEJB's Context doesn't support bind, rebind and unbind?

2011-06-07 Thread Andre Brito
Hey guys. The question is the subject's one: OpenEJB's Context object doesn't support rebind? I'm using that in JBoss, and when I'm using OpenEJB I get a OperationNotSupportedException. Checking the code from the JNDIContext class, I found this: public void bind(String name, Object obj) throws

Re: OPEN EJB most recent version and POJO's.

2011-06-06 Thread Andre Brito
Yes, it's possible. I'm using something like this: Swing - @Stateless Session Beans - POJOs, @Entities and Database operations. You don't have to annotate it. -- View this message in context: http://openejb.979440.n4.nabble.com/OPEN-EJB-most-recent-version-and-POJO-s-tp3576153p3576817.html Sent

Re: Remote access through network

2011-06-06 Thread Andre Brito
David Blevins-2 wrote: Git should be fine. The Apache repo on Github is read-only, so we'll still need a patch file for any changes rather than a pull request. Hum. If things are easier with SVN, I can use SVN, not a problem. Eclipse's plugin does pretty much everything. Is that easier /

Re: Remote access through network

2011-06-05 Thread Andre Brito
Yeah man, let's do it. Already forked the project from Github. Hope during the week I can write something (if not, weekend for sure). Then I'll commit and pull the issue. Do you think that it's a nice way to start? I mean... I don't like very much to document things, but I think it's a nice way

Re: Remote access through network

2011-06-03 Thread Andre Brito
Lots of features coming. That's very cool. In Brazil, I believe that lots of companies choose tecnology based on the feedback and support from the web. If you type JBoss SAR in Google, hundreads of pages will come up. So they tend to choose something like that. I strongly believe the only reason

Can I lookup a different service from a service without @EJB?

2011-06-03 Thread Andre Brito
Hey guys. The subject of this thread is ugly, I know. Pardon me, my english is very poor. I know I can use @EJB. Is simpler, easier and cleaner. But this question appeared in the team. With JBoss, if I'm in SessionBean A and I need SessionBean B, I must call the ServiceLocator. How can I do that

Re: Remote access through network

2011-06-03 Thread Andre Brito
David Blevins-2 wrote: On the broken examples front maybe you can help us convert a few to markdown. http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples http://openejb.apache.org/examples.html So far only the 'simple-stateless' example has a README.md file. We will

Re: Can I lookup a different service from a service without @EJB?

2011-06-03 Thread Andre Brito
Sh*t. My fault. It was a typo in my code. Sorry. -- View this message in context: http://openejb.979440.n4.nabble.com/Can-I-lookup-a-different-service-from-a-service-without-EJB-tp3571549p3571907.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Remote access through network

2011-06-02 Thread Andre Brito
David, I think that'll be great. Specially for new users to try OpenEJB. Hope you guys do that fast, because OpenEJB is achieving fans every day. Regards, Andre. -- View this message in context: http://openejb.979440.n4.nabble.com/Remote-access-through-network-tp379p3569164.html Sent from

Re: Remote access through network

2011-06-01 Thread Andre Brito
I'm not sure I can give you any advice, since I don't have much experience in developing websites. I usually go to the site index and Ctrl-F-it what I'm trying to find. Not the best way, but I got used to it. BTW, there's a bug in a few pages. Look at this one:

Re: Remote access through network

2011-05-27 Thread Andre Brito
Hey guys. I figured out. My lack of attention (and lazyness) blocked me from reading a tutorial (couldn't find it) in the documentation. The tutorial said I should start OpenEJB like this: openejb start -h 23.21.21.232 -p 4201 But that didn't work. Then I read the documentation and did this: