You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Paul Foxworthy <pa...@cohsoft.com.au> on 2017/07/19 00:27:12 UTC

Re: Updating 10 year old version of entity engine and service engine.

Hi Mark,

Skip Dever had a lot to say about the issues he encountered during a move
from OFBiz 9 to 12. His experience may help you. Skip was working on this
during 2013. The earliest message I can see is here:
http://ofbiz
.135035.n4.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=102820&i=60

Cheers

Paul Foxworthy


On 5 July 2017 at 05:52, Mark Gordon <ma...@markgordon.org> wrote:

> Hi,
>
> I have been tasked with updating a 10 year old version of ofbiz
> entityengine and service engine to the latest version.
>
> Would anyone know of a document that outlines the changes to just these
> modules? I didn't think so :-)
>
> It seems that many of the helper methods have been removed from the
> delegator.  Just as a single example, findByPrimaryKey(String, Map) it is
> now findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys).  In
> the old version the entityname (string) was converted to the GenericPK for
> that entity and basically the final call was to a method similar to this.
>
> Just wondering if there is anyone that has been around for the past 10
> years that can explain some of the history of the changes.
>
> I am faced with either writing my own delegator that is a layer over the
> existing delegator that puts the needed methods back and calls the new
> methods.  Or editing the entire system fixing all the delegator calls.
>
> I have not gotten into the service engine yet, I would guess the past 10
> years have seen many changes here as well.
>
> Thanks,
> Mark
>



-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: info@coherentsoftware.com.au

Re: Updating 10 year old version of entity engine and service engine.

Posted by Pranay Pandey <pr...@hotwaxsystems.com>.
Hi Mark,

Yes, you are absolutely right that in past 10 years OFBiz has seen many
changes. Along with the updates to entity and service engine you are
looking for, there are other important updates you can consider. I have
been here since last 10 years and using OFBiz as the main framework to
deliver ERP solutions.

Some more background details-
There are improvements done for better performance in high traffic
environment along with support to ease of use for the OFBiz developers.

There are Security Vulnerability fixes which should also be considered for
the upgrade for sure. Here  <https://ofbiz.apache.org/download.html>you can
find more details at the bottom of the page under the heading "Security
Vulnerability".

Here is a list of OFBiz releases done after 2009.
Stable releases which are not supported by the community as of now-
10.04 (2010)
11.04 (2011)
12.04 (2012)
13.07 (2013)

Branches which are not officially released because of external JARs
licensing conflicts. Still available for download to support service
providers and developers around the world-
14.12 (2014), 15.12 (2015)

Latest stable releases- (with given URLs more details about a release can
be accessed)
16.11.01 <https://ofbiz.apache.org/release-notes-16.11.01.html> (2016),
16.11.02 <https://ofbiz.apache.org/release-notes-16.11.02.html> (2016),
16.11.03 <https://ofbiz.apache.org/release-notes-16.11.03.html> (2016)

More details - OFBiz Release History  <https://www.apache.org/dist/ofbiz/>

I know this is a very high-level information, but I hope it will be
helpful. Personally, I would recommend to analyze and learn the code and
patterns followed in latest OFBiz release and then do a gap analysis with
the implementation you want to upgrade. The gap analysis will help you
estimate the effort and plan it accordingly.

The reference given by Paul can also be helpful if you want to upgrade to
12.04 which was released in the Year 2012. There will surely be challenges
but you can put your questions on user mailing and move forward.

HTH.

Best regards,
Pranay Pandey
www.hotwaxsystems.com

On Wed, Jul 19, 2017 at 11:38 AM, Pranay Pandey <
pranay.pandey@hotwaxsystems.com> wrote:

> Nice reference Paul. Just pasting it again. When I clicked the URL, it
> didn't work, needed to copy and paste it. Giving it here again-
>
> http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?
> macro=user_nodes&user=102820&i=60
>
> Best regards,
> Pranay Pandey
>
> On Wed, Jul 19, 2017 at 5:57 AM, Paul Foxworthy <pa...@cohsoft.com.au>
> wrote:
>
>> Hi Mark,
>>
>> Skip Dever had a lot to say about the issues he encountered during a move
>> from OFBiz 9 to 12. His experience may help you. Skip was working on this
>> during 2013. The earliest message I can see is here:
>> http://ofbiz
>> .135035.n4.nabble.com/template/NamlServlet.jtp?macro=user_
>> nodes&user=102820&i=60
>>
>> Cheers
>>
>> Paul Foxworthy
>>
>>
>> On 5 July 2017 at 05:52, Mark Gordon <ma...@markgordon.org> wrote:
>>
>> > Hi,
>> >
>> > I have been tasked with updating a 10 year old version of ofbiz
>> > entityengine and service engine to the latest version.
>> >
>> > Would anyone know of a document that outlines the changes to just these
>> > modules? I didn't think so :-)
>> >
>> > It seems that many of the helper methods have been removed from the
>> > delegator.  Just as a single example, findByPrimaryKey(String, Map) it
>> is
>> > now findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys).
>> In
>> > the old version the entityname (string) was converted to the GenericPK
>> for
>> > that entity and basically the final call was to a method similar to
>> this.
>> >
>> > Just wondering if there is anyone that has been around for the past 10
>> > years that can explain some of the history of the changes.
>> >
>> > I am faced with either writing my own delegator that is a layer over the
>> > existing delegator that puts the needed methods back and calls the new
>> > methods.  Or editing the entire system fixing all the delegator calls.
>> >
>> > I have not gotten into the service engine yet, I would guess the past 10
>> > years have seen many changes here as well.
>> >
>> > Thanks,
>> > Mark
>> >
>>
>>
>>
>> --
>> Coherent Software Australia Pty Ltd
>> PO Box 2773
>> Cheltenham Vic 3192
>> Australia
>>
>> Phone: +61 3 9585 6788
>> Web: http://www.coherentsoftware.com.au/
>> Email: info@coherentsoftware.com.au
>>
>
>

Re: Updating 10 year old version of entity engine and service engine.

Posted by Pranay Pandey <pr...@hotwaxsystems.com>.
Nice reference Paul. Just pasting it again. When I clicked the URL, it
didn't work, needed to copy and paste it. Giving it here again-

http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=102820&i=60

Best regards,
Pranay Pandey

On Wed, Jul 19, 2017 at 5:57 AM, Paul Foxworthy <pa...@cohsoft.com.au> wrote:

> Hi Mark,
>
> Skip Dever had a lot to say about the issues he encountered during a move
> from OFBiz 9 to 12. His experience may help you. Skip was working on this
> during 2013. The earliest message I can see is here:
> http://ofbiz
> .135035.n4.nabble.com/template/NamlServlet.jtp?
> macro=user_nodes&user=102820&i=60
>
> Cheers
>
> Paul Foxworthy
>
>
> On 5 July 2017 at 05:52, Mark Gordon <ma...@markgordon.org> wrote:
>
> > Hi,
> >
> > I have been tasked with updating a 10 year old version of ofbiz
> > entityengine and service engine to the latest version.
> >
> > Would anyone know of a document that outlines the changes to just these
> > modules? I didn't think so :-)
> >
> > It seems that many of the helper methods have been removed from the
> > delegator.  Just as a single example, findByPrimaryKey(String, Map) it is
> > now findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys).  In
> > the old version the entityname (string) was converted to the GenericPK
> for
> > that entity and basically the final call was to a method similar to this.
> >
> > Just wondering if there is anyone that has been around for the past 10
> > years that can explain some of the history of the changes.
> >
> > I am faced with either writing my own delegator that is a layer over the
> > existing delegator that puts the needed methods back and calls the new
> > methods.  Or editing the entire system fixing all the delegator calls.
> >
> > I have not gotten into the service engine yet, I would guess the past 10
> > years have seen many changes here as well.
> >
> > Thanks,
> > Mark
> >
>
>
>
> --
> Coherent Software Australia Pty Ltd
> PO Box 2773
> Cheltenham Vic 3192
> Australia
>
> Phone: +61 3 9585 6788
> Web: http://www.coherentsoftware.com.au/
> Email: info@coherentsoftware.com.au
>