Re: Netbeans 11.3 enterprise application

2021-08-10 Thread Geertjan Wielenga
Yes, we do. Gj On Tue, 10 Aug 2021 at 17:52, Will Hartung wrote: > But don't we already have that issue with the code generators and other > tech plugins that we do maintain? > > On Tue, Aug 10, 2021 at 8:09 AM Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> >> That would cr

Re: Netbeans 11.3 enterprise application

2021-08-10 Thread Will Hartung
But don't we already have that issue with the code generators and other tech plugins that we do maintain? On Tue, Aug 10, 2021 at 8:09 AM Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > > That would create different problems — if we’d host our own archetypes, > we’d have to maintai

Re: Netbeans 11.3 enterprise application

2021-08-10 Thread Geertjan Wielenga
That would create different problems — if we’d host our own archetypes, we’d have to maintain them too and keep them in sync with their underlying technologies and best practices. Gj On Tue, 10 Aug 2021 at 17:06, Will Hartung wrote: > The shame for this is that the reason it's broken is not, pe

Re: Netbeans 11.3 enterprise application

2021-08-10 Thread Will Hartung
The shame for this is that the reason it's broken is not, per se, "NBs" fault. The issue is that the maven archetypes it originally relied on are now gone and unsupported when the hosting site up and vanished. There's no real magic here, it's just a maven project. But the external dependency rott

Re: Netbeans 11.3 enterprise application

2021-08-10 Thread Geertjan Wielenga
There's a difference in having project wizards (we can simply hide them) and having functionality for maintaining existing applications (we can keep that). Gj On Tue, Aug 10, 2021 at 2:23 PM Gregor Kovač wrote: > Hi! > > Please don't remove it. I have an JEE 6 app (with EARs and WARs) I still >

Re: Netbeans 11.3 enterprise application

2021-08-10 Thread Gregor Kovač
Hi! Please don't remove it. I have an JEE 6 app (with EARs and WARs) I still have to maintain. Best regards,     Gregor Tom Coudyzer je 10. 08. 21 ob 13:30 napisal: ;-) agree /Tom On 10 Aug 2021, at 11:33, Geertjan Wielenga wrote:  Probably the support for Java EE applications should

Re: Netbeans 11.3 enterprise application

2021-08-10 Thread Tom Coudyzer
;-) agree /Tom > On 10 Aug 2021, at 11:33, Geertjan Wielenga > wrote: > >  > Probably the support for Java EE applications should be removed, or made > available as an external plugin since, as pointed out above, the applicable > approach nowadays is to use WARs and REST calls. > > So, rat

Re: Netbeans 11.3 enterprise application

2021-08-10 Thread Geertjan Wielenga
Probably the support for Java EE applications should be removed, or made available as an external plugin since, as pointed out above, the applicable approach nowadays is to use WARs and REST calls. So, rather than it being strange that this doesn't work out of the box, it is strange that it is in

Re: Netbeans 11.3 enterprise application

2021-08-10 Thread Tom Coudyzer
Thanks Pieter! I agree it’s odd the not working out of the box behaviour doesn’t help to onboard people to start using Netbeans. However I don’t know if usage increase of Netbeans is one of the goals of the project. I am too new in the Netbeans world to have a valid opinion. Thanks again. /To

Re: Netbeans 11.3 enterprise application

2021-08-09 Thread Pieter van den Hombergh
I have build with maven, so independent of an IDE. I needed to change the package format of the ejb module to jar, Then building in the order ejb, web, top project and ear did result in an war file, which should be loadable in a web container like payara. steps I did (after the edit) cd .../mypro

Re: Netbeans 11.3 enterprise application

2021-08-09 Thread Laszlo Kishalmi
Even Maven provides a pretty bad support for EAR-s. Go for WAR... On 8/7/21 12:02 PM, José Contreras wrote: I just tested this on master and got the same error when trying to build the EAR. The problem is that the pom files are badly created, to solve this you will have to rectify the pom files

Re: Netbeans 11.3 enterprise application

2021-08-07 Thread Will Hartung
For the bulk of what folks do today Geertjan is right. Simply create a WAR. WARs can host JAX-RS end points, run JSP and JSF, host SessionBeans, JPA Entities, etc. If you're not using Message Beans, or Timers, or a select few other things made manifest in an actual EAR application, simply create a

Re: Netbeans 11.3 enterprise application

2021-08-07 Thread Tom Coudyzer
Will do, thanks for the feedback /Tom > On 7 Aug 2021, at 21:02, José Contreras wrote: > >  > I just tested this on master and got the same error when trying to build the > EAR. The problem is that the pom files are badly created, to solve this you > will have to rectify the pom files. > Yo

Re: Netbeans 11.3 enterprise application

2021-08-07 Thread José Contreras
I just tested this on master and got the same error when trying to build the EAR. The problem is that the pom files are badly created, to solve this you will have to rectify the pom files. You could check the code examples (and the pom files) of the book in github

Re: Netbeans 11.3 enterprise application

2021-08-03 Thread Wayne Gemmell | Connect
Don't do it with netbeans. There is no support for that going forward. I changed my one to a war and added a few cron jobs. It's now simpler and I have less build issues. Regards Wayne On Tue, 3 Aug 2021 at 12:15, Tom Coudyzer wrote: > Hi, > > Seeking for some help on creating an Enterprise ap

Re: Netbeans 11.3 enterprise application

2021-08-03 Thread Pieter van den Hombergh
could you add the pom.xml files of all projects to the mail (in a zip), then i can have a look. the error message is most likely generated by maven, not netbeans. On Tue, 3 Aug 2021, 12:15 Tom Coudyzer, wrote: > Hi, > > Seeking for some help on creating an Enterprise application (with Maven) >

Re: Netbeans 11.3 enterprise application

2021-08-03 Thread Geertjan Wielenga
Went to Amazon, found that book, and immediately bought it. Intrigued, Gj On Tue, 3 Aug 2021 at 12:48, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > > Very interesting and excellent. :-) > > Gj > > > On Tue, 3 Aug 2021 at 12:33, Tom Coudyzer wrote: > >> Thanks and I will give

Re: Netbeans 11.3 enterprise application

2021-08-03 Thread Geertjan Wielenga
Very interesting and excellent. :-) Gj On Tue, 3 Aug 2021 at 12:33, Tom Coudyzer wrote: > Thanks and I will give it a try! > > Reading through some of the mailing list archives I read indeed that and > Enterprise application is not the way-to-go anymore however I ran into this > by reading the

Re: Netbeans 11.3 enterprise application

2021-08-03 Thread Geertjan Wielenga
Best to use the latest release, 12.4. Also, typically, an enterprise application wouldn’t be created anymore — though there are still use cases for it, of course, the typical starting point is to create REST endpoints and consume them in a web/mobile application. Gj On Tue, 3 Aug 2021 at 12:15,

Netbeans 11.3 enterprise application

2021-08-03 Thread Tom Coudyzer
Hi, Seeking for some help on creating an Enterprise application (with Maven) via Netbeans 11.3 and AdoptOpenJDK 8 on MacOS 11.5.1 I create a new Enterprise application with Maven (Jave-EE 8) and end up with 4 projects. The wizard starts to compile the maven projects but gives an error. Ignorin