Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 11 support: Naked Objects pattern #983

Closed
iluwatar opened this issue Oct 12, 2019 · 11 comments · Fixed by #2336
Closed

Java 11 support: Naked Objects pattern #983

iluwatar opened this issue Oct 12, 2019 · 11 comments · Fixed by #2336

Comments

@iluwatar
Copy link
Owner

In issue #976 JDK11 build was taken to use but one problem related to Naked Objects pattern remains. Issue description from @lbroman:

In my PR #980 I have left language source and target at 8 for the naked-objects/dom module. This is because java 11 bytecode breaks the datanucleus enhancer, even if they claim that 5.2 should support java 11 bytecode.
I have tried fiddling with the datanucleus dependency versions because the module uses datanucleus core 5 and apis from 4 so I thought that might be the problem. However, bumping up the versions breaks other stuff as they seem to have moved around some classes between 4 and 5.

@tejashreeegithub
Copy link

hi,
please can u help me to run naked objects pattern project.. please.. i am new to maven. i tried to build naked objects project. Seperate jars are getting created for dom,fixture,integtests and webapp folder and also simpleapp.war inside webapps/target. How do i run this war file?
I installed tomcat also..

@iluwatar
Copy link
Owner Author

@tejashreeegithub there are many ways but probably easiest is to use the executable jar. First build it with mvn clean package and then in the webapp/target you can run java -jar naked-objects-webapp-1.22.0-SNAPSHOT-jetty-console.jar

@iluwatar
Copy link
Owner Author

One way to resolve this issue could be to try to update the whole pattern. The instructions can be found on the Apache Isis website https://isis.apache.org/guides/ugfun/ugfun.html#_ugfun_getting-started_simpleapp-archetype.

@tejashreeegithub
Copy link

@tejashreeegithub there are many ways but probably easiest is to use the executable jar. First build it with mvn clean package and then in the webapp/target you can run java -jar naked-objects-webapp-1.22.0-SNAPSHOT-jetty-console.jar
One small help.. what could be the output of it.? Actually i was able to see sc

nakedObjectsPage

But can we see any naked objects structure using this url localhost:8081.

Please help me in how this project shows up as result

@iluwatar
Copy link
Owner Author

You can click the links there in the web app to go deeper. Learn more about Apache Isis and naked objects pattern by reading https://isis.apache.org/guides/ugfun/ugfun.html

@iluwatar iluwatar pinned this issue Aug 23, 2020
@hartpoli
Copy link

hartpoli commented Sep 5, 2021

You can click the links there in the web app to go deeper. Learn more about Apache Isis and naked objects pattern by reading https://isis.apache.org/guides/ugfun/ugfun.html

I try so hard for understand that content inside there. 😐😐😐

@mohanaraosv
Copy link
Contributor

@iluwatar The above link is broken could you please update it with the relevant URL.

@iluwatar
Copy link
Owner Author

iluwatar commented Jul 5, 2022

The links have changed, but the website still contains all the relevant information. See https://isis.apache.org/ The idea is to use the simpleapp archetype and recreate the naked objects example with that.

@hartpoli
Copy link

ok.

tq

@robertvolkmann
Copy link
Contributor

@iluwatar Could I work on this?

@iluwatar
Copy link
Owner Author

Sure @robertvolkmann, go ahead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment