Re: Updates the code using new API facilities

2019-01-10 Thread Otávio Gonçalves de Santana
Yes, it is Java 8 On Thu, Jan 10, 2019 at 6:19 PM Jean-Louis Monteiro < jlmonte...@tomitribe.com> wrote: > Thanks Otavio. > Make sure you stick with Java 8 though because master is targeting Java EE > 8. > -- > Jean-Louis Monteiro > http://twitter.com/jlouismonteiro > http://www.tomitribe.com >

Re: Updates the code using new API facilities

2019-01-10 Thread Jean-Louis Monteiro
Thanks Otavio. Make sure you stick with Java 8 though because master is targeting Java EE 8. -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Thu, Jan 10, 2019 at 3:18 PM Otávio Gonçalves de Santana < osant...@tomitribe.com> wrote: > Updates the API > > This

Re: Max public methods EJB can expose.

2019-01-10 Thread Jonathan Gallimore
Awesome, thank you! On Thu, Jan 10, 2019 at 3:09 PM Vincenzo D'Aniello < ict.management.tre...@gmail.com> wrote: > Ok, as soon as I can, I prepare a test and the public on git, thanks for > now > ... > > > > -- > Sent from: > http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html >

Re: Max public methods EJB can expose.

2019-01-10 Thread Vincenzo D'Aniello
Ok, as soon as I can, I prepare a test and the public on git, thanks for now ... -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html

Re: Max public methods EJB can expose.

2019-01-10 Thread Jonathan Gallimore
Off the top of my head, it sounds like a JVM thing as opposed to a TomEE / OpenEJB thing, but I could well be wrong. That said, do you have an example or the full error output so we can take a look? Jon On Thu, Jan 10, 2019 at 2:43 PM Vincenzo D'Aniello < ict.management.tre...@gmail.com> wrote:

Re: Max public methods EJB can expose.

2019-01-10 Thread Vincenzo D'Aniello
The cause of 5000 methods concerns a component that calls methods from external library (.dll in windows, .so in linux, the library is multiplatform), so I do not unfortunately have the source code of this component, and so I needed to build a stateful EJB that externally recalled these methods.

Updates the code using new API facilities

2019-01-10 Thread Otávio Gonçalves de Santana
Updates the API This PR has the goal to update the code using the newest API until Java 8. These improvements are: - Use switch instead of multiple if/else: The switch is faster because there are special bytecodes that allow efficient switch statement evaluation when there are a lot

Re: Max public methods EJB can expose.

2019-01-10 Thread Gurkan Erdogdu
Hi I wonder why do you have 5000 public methods in one class? Any specific requirement? Regards. Gurkan On Thu, Jan 10, 2019 at 4:25 PM Vincenzo D'Aniello < ict.management.tre...@gmail.com> wrote: > > Hello everyone. > Time ago, I was preparing a remote interface (@Remote), and this interface >

Re: ActiveMQ Websocket Transport in TomEE 7.0.4 possible?

2019-01-10 Thread Vincenzo D'Aniello
Hello. I found myself very well, to use ActiveMQ, using it externally to Tomee, or installing an official distribution, downloadable from the site: http://activemq.apache.org/download.html So I could customize everything I wanted so much more easily, and still outsource the service from tomee. I

Max public methods EJB can expose.

2019-01-10 Thread Vincenzo D'Aniello
Hello everyone. Time ago, I was preparing a remote interface (@Remote), and this interface had to expose more than 5,000 public methods. Practically though, when tomee was deploying the .war, it gave 'size limit exceeded' error, making me understand that there is a maximum limit of public

Re: TomEE 8.0.0 production version release date

2019-01-10 Thread Gurkan Erdogdu
Hello Sujan Currently we have been actively working on TomEE 8 branch. It includes lots of updates (especially on Microprofile ) and may not be ready for the production usage. If you want to help us, you can start from http://tomee.apache.org/community/contributing/contribution-tips.html You can