cargotracker icon indicating copy to clipboard operation
cargotracker copied to clipboard

Move to Jakarta EE 9

Open m-reza-rahman opened this issue 4 years ago • 9 comments

Essentially update namespaces. There may be some Java SE 11 features that may be applied.

Reza Rahman Jakarta EE Ambassador, Author, Blogger, Speaker

Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.

m-reza-rahman avatar Jun 21 '20 01:06 m-reza-rahman

So for Jakarta 8 we are introducing the new features form Java 8 and the Jakarta 9 version will require Java 11+, right?

thadumi avatar Jun 21 '20 13:06 thadumi

Yes, that's the idea. Jakarta EE 9 targets Java SE 11, so it is fine to begin applying those features at that point (though I imagine these changes would be very small). Jakarta EE 8 targets Java SE 8, so it is best to stick to that version for the Jakarta EE 8 release (and there are many places where Java SE 8 features will apply).

Reza Rahman Jakarta EE Ambassador, Author, Blogger, Speaker

Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.

m-reza-rahman avatar Jun 21 '20 16:06 m-reza-rahman

Does it really make sense to maintain two versions, one for Jakarta EE 8 and other for EE 9? Isn't it better to just move towards 9 with Java 11?

ggam avatar Jun 21 '20 16:06 ggam

One of the most frequent requests for the original Cargo Tracker project was supporting various versions of the specifications as people are most often not using the latest. It is a bit too much work to try to support Java EE 6 now, but Java EE 7, Jakarta EE 8 and Jakarta EE 9 should be easy. That said, the older versions will be separate branches from which we will do releases (and possibly back-ports) but the master branch will try to reflect the latest version of the technologies that we have bandwidth to support. Either way, we will need to do gradual adjustments to a fairly non-trivial code base, so the effort is mostly the same to support older versions of the technologies.

I will document some of this in a road map shortly. The Eclipse Foundation had asked for one from the start, but I just could not prioritize it so far.

Reza Rahman Jakarta EE Ambassador, Author, Blogger, Speaker

Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.

m-reza-rahman avatar Jun 21 '20 17:06 m-reza-rahman

Makes sense. I'm keeping an eye on this repository and will try to contribute where possible.

ggam avatar Jun 21 '20 17:06 ggam

To be honest, we first need to stabilize the project and have a solid Java EE 7 initial release including resurrecting the website and documentation. The code base is now old so we need to make sure it's dependencies still work. Also, there are many bugs that were never properly resolved. Theo has been doing a pretty good job taking care of the code and maybe Nishant can help us with the website and GitBook.

I think once the initial stabilization is done, it may be easier to divide up the work cleanly. I will do a call to action when we reach that point (probably in a few weeks).

Reza Rahman Jakarta EE Ambassador, Author, Blogger, Speaker

Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.

m-reza-rahman avatar Jun 21 '20 17:06 m-reza-rahman

Is anyone starting this task? if nobody did this, I will start a branch for this.

hantsy avatar Nov 09 '21 04:11 hantsy

I have assigned the issue to you and will look at the PR ASAP. I am sure it’s fine.

m-reza-rahman avatar Nov 09 '21 14:11 m-reza-rahman

We need to defer this until Payara (and other implementations) bring Jakarta EE 9 support to production.

m-reza-rahman avatar Jan 15 '22 19:01 m-reza-rahman

Hi @hantsy, are you still working on this? Since Payara 6 is released now, we can get it done? Can you issue a PR against master? Also, can we just move to Jakarta EE 10 instead?

m-reza-rahman avatar Jan 02 '23 04:01 m-reza-rahman

I have tried to update my personal example projects to Jakarta EE 10, both are working well.

The left problem here is the Arquillian issue(it is really not active as before), there is a big issue when using Arquillian Drone/Graphene and JUnit 5 to test page object.

  • https://github.com/arquillian/arquillian-core/issues/312

hantsy avatar Jan 02 '23 04:01 hantsy

Is Arquillian generally working with JUnit 5, Payara 6 and Jakarta EE 10? As you know, we don't use Drone/Graphene. If not Jakarta EE 10, could we try a move to Jakarta EE 9? Either way, do you think you can do a PR against master?

m-reza-rahman avatar Jan 02 '23 04:01 m-reza-rahman

This project does not test the pages(so we have not use Drone/Graphene yet).

I think moving to Jakarta EE 10 is more valuable, Jakarta EE 9 just updated the jakarta namespace and did not introduce new features.

I will try to send a new PR for Jakarta EE 10 in this week.

hantsy avatar Jan 02 '23 04:01 hantsy

Awesome! I will look for it! I’ll assign the JUnit 5 issue to you as well. Will be great to take care of that too!

m-reza-rahman avatar Jan 02 '23 04:01 m-reza-rahman

Yes, based on the work of Jakarta EE 9, it is easy to move Jakarta EE 10.

Regards,

Hantsy Bai

Self-employed consultant, fullstack developer, agile coach, freelancer/remote worker

GitHub: https://github.com/hantsy

Twitter: @.*** Medium: @.***

On Mon, Jan 2, 2023 at 12:37 PM Reza Rahman @.***> wrote:

Awesome! I will look for it!

— Reply to this email directly, view it on GitHub https://github.com/eclipse-ee4j/cargotracker/issues/99#issuecomment-1368653081, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGQT6GZ6NC7IFHJRMFPW63WQJLSJANCNFSM4ODUHCCQ . You are receiving this because you were mentioned.Message ID: @.***>

hantsy avatar Jan 02 '23 04:01 hantsy

Going forward, @ojuschugh1 will be handling this.

m-reza-rahman avatar Mar 27 '23 15:03 m-reza-rahman

hi @hantsy
I am facing a problem when i am trying to run GitHub branch omnifish-jee10 of cargtracker in eclipse ide .Even though i have followed the same steps told in the readme.md. I am using eclipse ide latest version,jdk 17,payara 6 .Could you please tell me how to resolve this issue as i am working on this project as you have worked with jakarta ee 10 . Can Jakarta EE 10 even work in eclipse ide with Payara for the omnifish branch ?

Thanks and Regards omnifish

ojuschugh1 avatar May 08 '23 16:05 ojuschugh1

Did you use the Eclipse JEE bundle?

Regards,

Hantsy Bai

Self-employed consultant, fullstack developer, agile coach, freelancer/remote worker

GitHub: https://github.com/hantsy

Twitter: @.*** Medium: @.***

On Tue, May 9, 2023 at 12:23 AM Ojus Chugh @.***> wrote:

hi @hantsy https://github.com/hantsy I am facing a problem when i am trying to run GitHub branch omnifish-jee10 of cargtracker in eclipse ide .Even though i have followed the same steps told in the readme.md. I am using eclipse ide latest version,jdk 17,payara 6 .Could you please tell me how to resolve this issue as i am working on this project as you have worked with jakarta ee 10 . Can Jakarta EE 10 even work in eclipse ide with Payara for the omnifish branch ?

Thanks and Regards [image: omnifish] https://user-images.githubusercontent.com/79078267/236877233-55779647-02b2-462e-8420-157b8f7421a7.PNG

— Reply to this email directly, view it on GitHub https://github.com/eclipse-ee4j/cargotracker/issues/99#issuecomment-1538683394, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGQT6COC3IHYGIESMEYJADXFEMXVANCNFSM4ODUHCCQ . You are receiving this because you were mentioned.Message ID: @.***>

hantsy avatar May 09 '23 00:05 hantsy

Thanks for the reply sir , Sir i don't get it what do you mean by eclipse jee bundle ?

i am using eclipse ide for java and dsl developers

Thanks and regards

On Tue, 9 May 2023 at 14:14, Hantsy Bai @.***> wrote:

Did you use the Eclipse JEE bundle?

Regards,

Hantsy Bai

Self-employed consultant, fullstack developer, agile coach, freelancer/remote worker

GitHub: https://github.com/hantsy

Twitter: @.*** Medium: @.***

On Tue, May 9, 2023 at 12:23 AM Ojus Chugh @.***> wrote:

hi @hantsy https://github.com/hantsy I am facing a problem when i am trying to run GitHub branch omnifish-jee10 of cargtracker in eclipse ide .Even though i have followed the same steps told in the readme.md. I am using eclipse ide latest version,jdk 17,payara 6 .Could you please tell me how to resolve this issue as i am working on this project as you have worked with jakarta ee 10 . Can Jakarta EE 10 even work in eclipse ide with Payara for the omnifish branch ?

Thanks and Regards [image: omnifish] < https://user-images.githubusercontent.com/79078267/236877233-55779647-02b2-462e-8420-157b8f7421a7.PNG

— Reply to this email directly, view it on GitHub < https://github.com/eclipse-ee4j/cargotracker/issues/99#issuecomment-1538683394 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAGQT6COC3IHYGIESMEYJADXFEMXVANCNFSM4ODUHCCQ

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/eclipse-ee4j/cargotracker/issues/99#issuecomment-1539226945, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS3KG645UAXYQ634FMVRHI3XFH7YJANCNFSM4ODUHCCQ . You are receiving this because you were mentioned.Message ID: @.***>

ojuschugh1 avatar May 09 '23 15:05 ojuschugh1

He means the Eclipse IDE Java EE bundle. It has tools for Java EE and web development.

emaphis avatar May 22 '23 20:05 emaphis

Fixed by https://github.com/eclipse-ee4j/cargotracker/pull/272.

m-reza-rahman avatar Aug 18 '23 22:08 m-reza-rahman