Very interesting and excellent. :-)

Gj


On Tue, 3 Aug 2021 at 12:33, Tom Coudyzer <[email protected]> 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 book "Full-Stack Web Development with Jakarta EE and Vue.js:
> Your One-Stop Guide to Building Modern Full-Stack Applications with Jakarta
> EE and Vue.js"
>
> To teach about JakartaEE and Vue the author is using a Netbeans Enterprise
> application.
>
> Although the books' publication is pretty recent the author still uses it.
> Will read a little bit between the lines knowing this know.
>
> Thanks again.
>
> /Tom
>
> On Tue, Aug 3, 2021 at 12:18 PM Geertjan Wielenga <
> [email protected]> wrote:
>
>> 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, Tom Coudyzer <[email protected]> wrote:
>>
>>> 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.
>>>
>>> Ignoring this error I clean an build the
>>>
>>> web (module) project
>>> ejb (module) project
>>> project
>>> ear (module) project
>>>
>>> First 3 build with success however when building the EAR I get this error
>>>
>>> Failed to execute goal on project myproject-ear: Could not resolve
>>> dependencies for project com.company:myproject-ear:war:1.0-SNAPSHOT: Could
>>> not find artifact com.company:myproject-ejb:jar:1.0-SNAPSHOT -> [Help 1]
>>>
>>> I manage to get it working when I change the EJB dependency and change
>>> it from packing type EJB to WAR in the pom.xml of the EAR module/project
>>>
>>> Sorry if this is a "rookie" mistake or missing something from my side
>>> but would be great to get some understanding why this "out-of-the-box" is
>>> not working and what to do to get this fixed.
>>>
>>> Thank you already and any help is much appreciated!
>>>
>>> /Tom
>>>
>>

Reply via email to