Other points that I have tested today:

1. Creation of a new session bean (EJB):

 * We must "choose" (it's the only option!) to create a local
   interface. It's not possible to create an EJB without an interface.
 * In the generated EJB the namespace javax is used instead of jakarta.

In fact, it seems that all the generated classes use the namespace javax (for example the new entities). Perhaps the use of the new namespace jakarta is planned for the next versions of NetBeans 16?

2.  Injection of an EJB in a class does not work because no EJB is found in the project.

Neil, should I wait for RC2, before testing other features that relate to Jakarta EE?

Best regards,

Richard

Le 19/10/2022 à 19:05, Richard Grin a écrit :
Hello Neil,

NetBeans 16-rc1. Windows 11 Family 64-bit, version 21H2..

Thanks for the great job.

The problem with the archetype is fixed and I have just created a Maven Web Application for Jakarta EE 9.1. I tested it with GlassFish and Payara.

Glassish
=======

It's impossible to start GlassFish 6.2.5 from the Services tab of NetBeans. I got the message "Error: Could not find or load main class Eclipse\glassfish6.2.5\glassfish6\glassfish.lib.grizzly-npn-api.jar Caused by: java.lang.ClassNotFoundException: Eclipse\glassfish6.2.5\glassfish6\glassfish.lib.grizzly-npn-api.jar"

If I start GlassFish with asadmin outside NetBeans, I can run the Web Application for Jakarta EE 9.1.

I try to use the wizard "New Entity Classes from Database" and all worked well (not the case with Payara as described below). BUT, the entities are generated with the namespace javax instead of jakarta! For example, import javax.persistence.Entity;.

When GlassFish is started, I can stop it from NetBeans.

Payara
=====

I have just tested with Payara Server Community 6.2022.1 Alpha 4 too.

At the beginning, all works well with Payara: I can start and stop it from NetBeans, I can run the application.

But the wizard "New Entity Classes from Database" that I tried just after creating the project, is not working. I arrive directly on the second step of the wizard and no Datasource is displayed so I have to give up. Instead of "Data source", "Please wait.." is displayed, and I waited a very long time. Yet I can connect to the database from the entry "Databases" of the Services tab of NetBeans.


Here is my first review of NetBeans 16 RC 1; I hope it will help.

Best regards,

Richard

Le 19/10/2022 à 16:25, Neil C Smith a écrit :
The first release candidate build for Apache NetBeans 16 is available
(links below).

Please help with testing, and file issues in GitHub as necessary -

https://github.com/apache/netbeans/issues

If you're a committer adding an issue, or helping triage an issue
(please do!), add the milestone and/or priority labels as appropriate.
Use priority:high for should be fixed before release,
priority:critical for must be fixed before we can release.

**The following rules are applied to pull requests from now until release:**

Please read the full info on how we manage pull requests to delivery
at least once! :-) -
https://lists.apache.org/thread/hyjbsz55zb9xfcnccghkrsvqsnt83nwf

PR's intended to be included in the 16 release :
  - Limited to fixes (link an issue if there is one, or provide
justification in description)
  - Label with priority:high or priority:critical as appropriate.
  - Base on the delivery branch.
  - Mark with NB16 milestone.
  - Will be merged by the release team.

PR's with features for a future release :
  - Base on the master branch.
  - Will be reviewed and merged in the usual way.
  - If possible stay away from big refactoring.
  - If possible do not overlap with fixes for 16 (delivery will be
merged to master weekly).


The NetBeans 16-rc1 artifacts are here:
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release160/2/artifact/dist/

Alternative trial link to latest release candidate:
https://nightlies.apache.org/netbeans/candidate/netbeans/

Link to the binary zip:
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release160/2/artifact/dist/netbeans/netbeans-16-rc1-bin.zip SHA512: 6313b82c571dd4f3472b6ca230b593b1e7a084431ceef2976e70cad9188c9b655508cf4f7225de9b20cce4d23285107328e3c86ce1d1f97944e67488a63e90a2

The sources are here:
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release160/2/artifact/dist/netbeans/netbeans-16-rc1-source.zip SHA512: 4490423a3632eb43228107511de870a9f20625e35698a6247ce8e2cf4840d8613f5c812a8d7e04fa0e406aed34c57b9004afe4e58aa57e93f6684c7c079f4cce

Link to the VSCode plugin:
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release160/2/artifact/dist/vsix/


The PRs already integrated into NetBeans 16 are :
https://github.com/apache/netbeans/pulls?q=is%3Amerged+milestone%3ANB16

Issues currently tagged for NetBeans 16 are :
https://github.com/apache/netbeans/issues?q=is%3Aopen+is%3Aissue+milestone%3ANB16

Release schedule :
https://cwiki.apache.org/confluence/display/NETBEANS/Release+Schedule


Thank you for your contributions!

Best wishes,

Neil

PS. Please don't respond to this email directly - start a new thread.
Let's keep the [NOTICE] tag for what it says. Thanks! :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org
For additional commands, e-mail: netcat-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

--
Richard Grin

Reply via email to