Hi Thomas, Welcome aboard, I hope you enjoy learning OFBiz
What you are trying to achive is an object oriented approach to domain modeling which perhaps is not supported in OFBiz in this fashion. In my opinion (perhaps others might disagree) it is probably simpler to code that way because you don't have to maintain the mapping between your objects and the relational model underneath. ORM could be (again my opinion) a painful approach to coding not only due to an explosion of classes in your domain model but also fragility in mapping. I think that is why OFBiz embraces the relational model and builds the logic on top of it in terms of services which might be different from what you are used to. Finally, I recommend avoiding mixing topics in one thread. So if you have unrelated questions perhaps start a new thread so others can search the mail archives by topic. Cheers, Taher Alkhateeb On Apr 15, 2017 11:24 PM, "Thomas Deniffel" <[email protected]> wrote: Because I want to design my domain model independent to the database model and place logic in the entities. So the entities are not only data structures. Like it is in ddd. Is there a way to achieve this in the XML approach? Am 15.04.2017 8:13 nachm. schrieb "Jacques Le Roux" < [email protected]>: > Le 15/04/2017 à 15:37, Thomas Deniffel a écrit : > >> Hello Jacques, >> >> Thank you for your answer. Eclipse would be fine for me as well. I like >> both IDEs. >> >> By the way: Is there a possibility to create entities as Java-Classes? >> > > Why would you like to do that? > > Jacques > > >> Best, >> >> Thomas >> >> 2017-04-15 13:42 GMT+02:00 Jacques Le Roux <[email protected]> >> : >> >> Hi Thomas, >>> >>> Welcome, right place to post. >>> >>> I don't use JRebel (nor IntelliJ, I use Eclipse) so I can't answer you on >>> this point, but you might find this interesting >>> >>> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+ >>> Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook- >>> HowTo-WhenAndWhenNotRecompiling >>> >>> HTH >>> >>> Jacques >>> >>> >>> >>> Le 15/04/2017 à 13:10, Thomas Deniffel a écrit : >>> >>> Hello everybody, >>>> >>>> I honestly hope that I do this right with the mail. If not: forgive me, >>>> it's my first time :) >>>> >>>> I just started with OfBiz. I use IntelliJ and JRebel. I imported the >>>> project into IntelliJ, as suggested and it runs directly in the IDE >>>> (over >>>> the run config with a gradle run). >>>> >>>> But now I change a class, and I want do redeploy it and directly load it >>>> into the running application (with JRebel). I can't do it because JRebel >>>> is >>>> disabled and Strg+Shift+9 does not work too. >>>> >>>> Now my question: How can I redeploy a class without restart the whole >>>> application (what takes a while). >>>> >>>> Is the same possible with all the XML-Definitions in the project? >>>> >>>> Thank you, >>>> >>>> Tom >>>> >>>> >>>> >
