Re: Another Framework Vision

2011-04-30 Thread Michael Xu (xudong)
hi Adrian,

I am not that keen on tech. However, it is obvious that the framework needs
to be improved. What I expect from the further improvement of ofbiz
framework are:

1) less dependency

2) less re-invent the wheel, like scheduler, cache, CMS, etc
I can see Moqui do much better at this point. (But that doesn't mean we
have to use Moqui to replace ofbiz framework.) As a manager, I always heard
from my developers: what's the value to go so deep into ofbiz...but have no
chance to use other common libraries. Furthermore, they don't think ofbiz is
better than other existed libraries, like quarz, ehcache, Jackrabbit. So I
really like Moqui's ecosystem...

3) distributed community
Contributors have different interests and experience. But now ofbiz
components depend on each other in a tight and sometime unreasonable
way(Maybe things are not supposed to be like what they are now).

I am not saying it is good or bad to replace ofbiz framework with Moqui. But
I really look forward to seeing the good ideas from Moqui in Ofbiz.

--
Regards,
Michael Xu (xudong)


On Sat, Apr 30, 2011 at 4:54 AM, Adrian Crum 
adrian.c...@sandglass-software.com wrote:

 Since we're discussing framework rewrites and free markets and such, I
 decided to throw my hat into the ring too.

 One proposal so far is to replace the OFBiz framework with the Moqui
 project. I have another idea - let's rewrite the framework using the
 existing community. Everyone can participate in the design - thereby
 leveraging the immense wealth of knowledge available in the community.

 To kick things off, I created a document describing my vision of an
 application framework. It's brief and it doesn't include any implementation
 details. If there is any interest in this approach, then everyone is free to
 add pages to the document and we can go from there.

 The document can be found here:


 https://cwiki.apache.org/confluence/display/OFBADMIN/Another+Framework+Vision

 -Adrian




Re: JIRA plugin framework

2011-01-14 Thread Michael Xu (xudong)
hi BJ,

I think you don't understand what I mean. Maybe you can take a look at JIRA
plugin framework.

--
Regards,
Michael Xu (xudong)


On Fri, Jan 14, 2011 at 12:34 PM, BJ Freeman bjf...@free-man.net wrote:

 sounds like you extending the entity engine so the data can be on the
 Cloud.
 Though I would not use it, I can see where some my want to do that.
 if the cloud can run ofbiz (java SDK) then sounds like that is all you
 need.

 =
 BJ Freeman
 Strategic Power Office with Supplier Automation  
 http://www.businessesnetwork.com/automation/viewforum.php?f=52
 Specialtymarket.com  http://www.specialtymarket.com/
 Systems Integrator-- Glad to Assist

 Chat  Y! messenger: bjfr33man


 Michael Xu (xudong) sent the following on 1/13/2011 8:05 PM:

  hi all,

 There is a very wonderful feature in JIRA - plugin mechanism based on
 OSGI,
 with which ofbiz application could be extended in a very dynamic way. No
 need to restart.

 It means a lot not from technical perspective but also from business
 perspective. If we can borrow the idea from JIRA, then we can bring ofbiz
 up
 to cloud and have an partner ecosystem around it. Taking CRM component as
 an
 example, if we have the JIRA plugin mechanism, we can turn it into another
 salesforce.

 It seems JIRA plugin is also open source Not sure whether we can merge it
 into ofbiz.

 --
 Regards,
 Michael Xu (xudong)





JIRA plugin framework

2011-01-13 Thread Michael Xu (xudong)
hi all,

There is a very wonderful feature in JIRA - plugin mechanism based on OSGI,
with which ofbiz application could be extended in a very dynamic way. No
need to restart.

It means a lot not from technical perspective but also from business
perspective. If we can borrow the idea from JIRA, then we can bring ofbiz up
to cloud and have an partner ecosystem around it. Taking CRM component as an
example, if we have the JIRA plugin mechanism, we can turn it into another
salesforce.

It seems JIRA plugin is also open source Not sure whether we can merge it
into ofbiz.

--
Regards,
Michael Xu (xudong)


Re: Adding a standars CSV export feature to list forms

2010-12-03 Thread Michael Xu (xudong)
hi Bruno

we discussed this issue at: https://issues.apache.org/jira/browse/OFBIZ-3981,
which, however, relates to jquery.

--
Regards,
Michael Xu (xudong)


On Sat, Dec 4, 2010 at 7:22 AM, Bruno Busco bruno.bu...@gmail.com wrote:

 Hi,
 I was thinking that having a CSV export feature embedded in the list form
 widget could be nice.

 I mean a feature that, simply adding something like a  csv-export=true 
 attribute in the form widget, would show a link or an icon in the top form
 pagination bar that would export the actual data listed in the form.
 Does this make sense?
 Any idea on how to implement this?

 Many thanks to everybody wants to share ideas on this.

 -Bruno



Re: jquey

2010-12-02 Thread Michael Xu (xudong)
+1

Yeah, I would love such a great Xmas present :-)

--
Regards,
Michael Xu (xudong)


On Thu, Dec 2, 2010 at 8:45 PM, Sascha Rodekamp sascha.rodekamp.lynx.de@
googlemail.com wrote:

 You're welcome
 +1

 Would be a great Xmas present to merge all the stuff into the trunk :-)

 Am 02.12.2010 um 10:59 schrieb Erwan de FERRIERES 
 erwan.de-ferrie...@nereide.fr:

  Le 02/12/2010 10:35, Jacques Le Roux a écrit :
  Looks like, apart Bruno, we are all on the same page so far
 
  Other opinions, ideas?
 
  Thanks
 
  Jacques
 
 
  The sooner the better !
 
  Thanks for all your work, Jacques and Sascha
 
  --
  Erwan de FERRIERES
  www.nereide.biz



Re: Develop Screen as Google Web Toolkit

2010-10-31 Thread Michael Xu (xudong)
Cool!

May I suggest that you put gwt codes as a branch and have some documents in
ofbiz wiki?

--
Regards,
Michael Xu (xudong)


On Sun, Oct 31, 2010 at 5:11 PM, Chatree Srichart 
chatree.srich...@gmail.com wrote:

 I have added the history function to OFBiz-GWT project. The GWT would
 handle
 screen when you click on the Back or Forward buttons of a web browser.

 Regards,
 Chatree Srichart



Re: Develop Screen as Google Web Toolkit

2010-10-24 Thread Michael Xu (xudong)
As I know, we have a jquery branch already and now GWT is another direction,
which looks amazing. I think committee  should really and seriously consider
the overall UI approach. A concrete plan is even better.

--
Regards,
Michael Xu (xudong)



On Mon, Oct 25, 2010 at 11:16 AM, Chatree Srichart 
chatree.srich...@gmail.com wrote:

 I added the changing language feature to the
 OFBiz-GWThttp://code.google.com/p/ofbiz-gwt/project. It would get
 different languages from exist UI label files. To try
 this please apply ofbiz-patches and re-compile again.

 Regards,
 Chatree Srichart



Re: Replace JobManager with Quartz Scheduler

2010-10-17 Thread Michael Xu (xudong)
hi Scott,

I don't know much about Quartz. But I really think it is the correct
direction to migrate home-grown codes to mature third party solution or
separate mature ofbiz components as standalone framework. As such, we can
focus on value creation and furthermore it might help attract more
developers to join.

--
Regards,
Michael Xu (xudong)


On Mon, Oct 18, 2010 at 5:28 AM, Scott Gray scott.g...@hotwaxmedia.comwrote:

 Hi All,

 I was looking at the Quartz Scheduler project (www.quartz-scheduler.org)
 over the weekend and it looks like it could be a good fit for OFBiz.  We ran
 into some issues with the scheduled service code in OFBiz recently where a
 heavy server load would cause all sorts of strangeness (multiple reschedules
 for a single failed job, inability to purge old jobs before a timeout, those
 two combined eventually bringing the server to its knees), and my options
 are to either find and fix the problem(s) or replace the scheduler with an
 external solution.

 I've only had a brief look but it appears like quartz is pretty extensible
 and would allow us to continue to support things like temporal expressions
 (and the deprecated recurrence infos) and could probably increase the number
 of scheduling features available to OFBiz.  It's ASL2 licensed and seems to
 be pretty mature.

 Does anyone have any experience with quartz to share?  Opinions or other
 possible alternatives would be most welcome.  I'm not looking to implement
 anything anytime soon but figured we may as well start discussing it.

 Thanks
 Scott

 HotWax Media
 http://www.hotwaxmedia.com




Re: Groupby in list form

2010-10-07 Thread Michael Xu (xudong)
hi Bruno,

Thanks. I have created a new issue (
https://issues.apache.org/jira/browse/OFBIZ-3981) in JIRA for such feature
request.

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Thu, Oct 7, 2010 at 1:08 PM, Bruno Busco bruno.bu...@gmail.com wrote:

 Yes Michael,
 the goal is to replace all js libraries with jquery only.
 A form columns hide/show/resize feature would be very interesting IMO. It
 is
 something I have on my list also so I will try to look and follow any
 contribution you could do on the topic.

 -Bruno

 2010/10/7 Michael Xu (xudong) dong...@wizitsoft.com

  Great to hear that and will try to contribute.
 
  Does that mean in the future ofbiz will replace other JS libraries using
  jquery?
 
  --
  Regards,
  Michael Xu (xudong)
 
 
  On Thu, Oct 7, 2010 at 12:19 PM, Hans Bakker
  mailingl...@antwebsystems.comwrote:
 
   Look at the Jquery branch were Sacha and Jacques are working on
  
   i hear them say, that will me merged back into the trunk before the end
   of the year.
  
   If you want, you can then use jquery to enhance the grouping feature in
   the forms...
  
   Regards,
   Hans
  
   On Thu, 2010-10-07 at 12:15 +0800, Michael Xu (xudong) wrote:
hi Hans,
   
Thanks. Got that and will look into the form.
   
However, from end user perspective, the groupby feature shown in
 the
   URL
provided by you is not that user friendly. Now users are spoiled by
   those
mature and fancy js libraries, like extjs, smartclient, etc.
 (Actually,
those js frameworks do a great job.) So at this moment, I am still
preferring to integrate such js libraries with ofbiz form. Any
 advice?
   
--
Regards,
Michael Xu (xudong)
   
   
On Thu, Oct 7, 2010 at 11:58 AM, Hans Bakker
mailingl...@antwebsystems.comwrote:
   


  
 
 https://demo-trunk.ofbiz.apache.org:8443/projectmgr/control/projectBilling?projectId=9000

 grouped by phase and task

 Ofbiz on twitter: http://twitter.com/apache_ofbiz
 Myself on twitter: http://twitter.com/hansbak
 http://www.antwebsystems.com: Quality services for competitive
  rates.

 On Thu, 2010-10-07 at 11:46 +0800, Michael Xu (xudong) wrote:
  hi Hans,
 
  Thanks. But I cannot find such feature in project - billing.
 Could
   you
  provide more detail? Or just point out the screen name. Really
   appreciate
  that.
 
  And two more questions:
  1) Is show/hide columns feature also there?
  2) Is it feasible to use extjs or any other javascript to replace
   current
  form rendering but keep interface same?
 
  --
  Regards,
  Michael Xu (xudong)
 
 
  On Wed, Oct 6, 2010 at 7:24 PM, Hans Bakker
  mailingl...@antwebsystems.comwrote:
 
   check the billing function on a project in special purpose
  
   --
   Ofbiz on twitter: http://twitter.com/apache_ofbiz
   Myself on twitter: http://twitter.com/hansbak
   Antwebsystems.com: Quality services for competitive rates.
  
  
   On Wed, 2010-10-06 at 19:12 +0800, Michael Xu (xudong) wrote:
hi all,
   
I want to implement a groupby feature in list form.
  Basically,
   with
   this
feature user can group results by any field. Ofbiz has such
   features
   already
or have to customize the current list form? If have to
  customize,
   how
 to
   do
it? Is it possible to integrate ext-js or any other existing
   mature
javascript library for form list?
   
Thanks in advance for any advice.
   
(BTW: if list form has some more features, like export,
  show/hide
   columns,
that would be even greater.)
   
--
Regards,
Michael Xu (xudong)
  
  




  
   --
   Ofbiz on twitter: http://twitter.com/apache_ofbiz
   Myself on twitter: http://twitter.com/hansbak
   Antwebsystems.com: Quality services for competitive rates.
  
  
 



Groupby in list form

2010-10-06 Thread Michael Xu (xudong)
hi all,

I want to implement a groupby feature in list form. Basically, with this
feature user can group results by any field. Ofbiz has such features already
or have to customize the current list form? If have to customize, how to do
it? Is it possible to integrate ext-js or any other existing mature
javascript library for form list?

Thanks in advance for any advice.

(BTW: if list form has some more features, like export, show/hide columns,
that would be even greater.)

--
Regards,
Michael Xu (xudong)


Re: Groupby in list form

2010-10-06 Thread Michael Xu (xudong)
hi Hans,

Thanks. But I cannot find such feature in project - billing. Could you
provide more detail? Or just point out the screen name. Really appreciate
that.

And two more questions:
1) Is show/hide columns feature also there?
2) Is it feasible to use extjs or any other javascript to replace current
form rendering but keep interface same?

--
Regards,
Michael Xu (xudong)


On Wed, Oct 6, 2010 at 7:24 PM, Hans Bakker
mailingl...@antwebsystems.comwrote:

 check the billing function on a project in special purpose

 --
 Ofbiz on twitter: http://twitter.com/apache_ofbiz
 Myself on twitter: http://twitter.com/hansbak
 Antwebsystems.com: Quality services for competitive rates.


 On Wed, 2010-10-06 at 19:12 +0800, Michael Xu (xudong) wrote:
  hi all,
 
  I want to implement a groupby feature in list form. Basically, with
 this
  feature user can group results by any field. Ofbiz has such features
 already
  or have to customize the current list form? If have to customize, how to
 do
  it? Is it possible to integrate ext-js or any other existing mature
  javascript library for form list?
 
  Thanks in advance for any advice.
 
  (BTW: if list form has some more features, like export, show/hide
 columns,
  that would be even greater.)
 
  --
  Regards,
  Michael Xu (xudong)





Re: Groupby in list form

2010-10-06 Thread Michael Xu (xudong)
hi Hans,

Thanks. Got that and will look into the form.

However, from end user perspective, the groupby feature shown in the URL
provided by you is not that user friendly. Now users are spoiled by those
mature and fancy js libraries, like extjs, smartclient, etc. (Actually,
those js frameworks do a great job.) So at this moment, I am still
preferring to integrate such js libraries with ofbiz form. Any advice?

--
Regards,
Michael Xu (xudong)


On Thu, Oct 7, 2010 at 11:58 AM, Hans Bakker
mailingl...@antwebsystems.comwrote:


 https://demo-trunk.ofbiz.apache.org:8443/projectmgr/control/projectBilling?projectId=9000

 grouped by phase and task

 Ofbiz on twitter: http://twitter.com/apache_ofbiz
 Myself on twitter: http://twitter.com/hansbak
 http://www.antwebsystems.com: Quality services for competitive rates.

 On Thu, 2010-10-07 at 11:46 +0800, Michael Xu (xudong) wrote:
  hi Hans,
 
  Thanks. But I cannot find such feature in project - billing. Could you
  provide more detail? Or just point out the screen name. Really appreciate
  that.
 
  And two more questions:
  1) Is show/hide columns feature also there?
  2) Is it feasible to use extjs or any other javascript to replace current
  form rendering but keep interface same?
 
  --
  Regards,
  Michael Xu (xudong)
 
 
  On Wed, Oct 6, 2010 at 7:24 PM, Hans Bakker
  mailingl...@antwebsystems.comwrote:
 
   check the billing function on a project in special purpose
  
   --
   Ofbiz on twitter: http://twitter.com/apache_ofbiz
   Myself on twitter: http://twitter.com/hansbak
   Antwebsystems.com: Quality services for competitive rates.
  
  
   On Wed, 2010-10-06 at 19:12 +0800, Michael Xu (xudong) wrote:
hi all,
   
I want to implement a groupby feature in list form. Basically, with
   this
feature user can group results by any field. Ofbiz has such features
   already
or have to customize the current list form? If have to customize, how
 to
   do
it? Is it possible to integrate ext-js or any other existing mature
javascript library for form list?
   
Thanks in advance for any advice.
   
(BTW: if list form has some more features, like export, show/hide
   columns,
that would be even greater.)
   
--
Regards,
Michael Xu (xudong)
  
  






Re: Groupby in list form

2010-10-06 Thread Michael Xu (xudong)
Great to hear that and will try to contribute.

Does that mean in the future ofbiz will replace other JS libraries using
jquery?

--
Regards,
Michael Xu (xudong)


On Thu, Oct 7, 2010 at 12:19 PM, Hans Bakker
mailingl...@antwebsystems.comwrote:

 Look at the Jquery branch were Sacha and Jacques are working on

 i hear them say, that will me merged back into the trunk before the end
 of the year.

 If you want, you can then use jquery to enhance the grouping feature in
 the forms...

 Regards,
 Hans

 On Thu, 2010-10-07 at 12:15 +0800, Michael Xu (xudong) wrote:
  hi Hans,
 
  Thanks. Got that and will look into the form.
 
  However, from end user perspective, the groupby feature shown in the
 URL
  provided by you is not that user friendly. Now users are spoiled by
 those
  mature and fancy js libraries, like extjs, smartclient, etc. (Actually,
  those js frameworks do a great job.) So at this moment, I am still
  preferring to integrate such js libraries with ofbiz form. Any advice?
 
  --
  Regards,
  Michael Xu (xudong)
 
 
  On Thu, Oct 7, 2010 at 11:58 AM, Hans Bakker
  mailingl...@antwebsystems.comwrote:
 
  
  
 https://demo-trunk.ofbiz.apache.org:8443/projectmgr/control/projectBilling?projectId=9000
  
   grouped by phase and task
  
   Ofbiz on twitter: http://twitter.com/apache_ofbiz
   Myself on twitter: http://twitter.com/hansbak
   http://www.antwebsystems.com: Quality services for competitive rates.
  
   On Thu, 2010-10-07 at 11:46 +0800, Michael Xu (xudong) wrote:
hi Hans,
   
Thanks. But I cannot find such feature in project - billing. Could
 you
provide more detail? Or just point out the screen name. Really
 appreciate
that.
   
And two more questions:
1) Is show/hide columns feature also there?
2) Is it feasible to use extjs or any other javascript to replace
 current
form rendering but keep interface same?
   
--
Regards,
Michael Xu (xudong)
   
   
On Wed, Oct 6, 2010 at 7:24 PM, Hans Bakker
mailingl...@antwebsystems.comwrote:
   
 check the billing function on a project in special purpose

 --
 Ofbiz on twitter: http://twitter.com/apache_ofbiz
 Myself on twitter: http://twitter.com/hansbak
 Antwebsystems.com: Quality services for competitive rates.


 On Wed, 2010-10-06 at 19:12 +0800, Michael Xu (xudong) wrote:
  hi all,
 
  I want to implement a groupby feature in list form. Basically,
 with
 this
  feature user can group results by any field. Ofbiz has such
 features
 already
  or have to customize the current list form? If have to customize,
 how
   to
 do
  it? Is it possible to integrate ext-js or any other existing
 mature
  javascript library for form list?
 
  Thanks in advance for any advice.
 
  (BTW: if list form has some more features, like export, show/hide
 columns,
  that would be even greater.)
 
  --
  Regards,
  Michael Xu (xudong)


  
  
  
  

 --
 Ofbiz on twitter: http://twitter.com/apache_ofbiz
 Myself on twitter: http://twitter.com/hansbak
 Antwebsystems.com: Quality services for competitive rates.




about new theme

2010-09-25 Thread Michael Xu (xudong)
hi all,

We are going to implement a new theme, starting from an existing one. Which
one is the best (or most active now)?

Really appreciate for any advice.

--
Regards,
Michael Xu (xudong)


Re: about new theme

2010-09-25 Thread Michael Xu (xudong)
hmmBut we still need to pick up one at first and then maybe merge some
special features from other themes.

So my question here basically is which existing theme is the best one.

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Sat, Sep 25, 2010 at 5:17 PM, BJ Freeman bjf...@free-man.net wrote:

 I suggest you review each and include those parts you find valuable.

 Michael Xu (xudong) sent the following on 9/25/2010 12:59 AM:



  hi all,

 We are going to implement a new theme, starting from an existing one.
 Which
 one is the best (or most active now)?

 Really appreciate for any advice.

 --
 Regards,
 Michael Xu (xudong)




Re: Hippo CMS

2010-07-10 Thread Michael Xu (xudong)
Cool.

One quick question:  if we wanna adopt a CMS on top of jackrabbit, which one
you think is the best for this branch? I think we have select one, then
people can focus on that to verify the whole idea. But of course, we can
make it flexible enough to adopt other CMS in the future.

--
Regards,
Michael Xu (xudong)


On Sat, Jul 10, 2010 at 4:23 PM, Scott Gray scott.g...@hotwaxmedia.comwrote:

 Branch is created and can be checked out from here:
 https://svn.apache.org/repos/asf/ofbiz/branches/jackrabbit20100709

 I've committed a quick and dirty container for an embedded jackrabbit repo
 so that we can go about accessing it straight away but much still needs to
 be done at a low level.

 Regards
 Scott

 On 9/07/2010, at 7:06 PM, Sascha Rodekamp wrote:

  Jep Scott after you created the branch we maybe can split the tasks and
 plan
  the next steps.
 
  2010/7/8 Scott Gray scott.g...@hotwaxmedia.com
 
  Okay well cool, I'll go ahead and create a branch at some point, I know
  Sascha has expressed interest as well so we may as well get the ball
  rolling.
 
  Regards
  Scott
 
  On 8/07/2010, at 11:54 PM, Adrian Crum wrote:
 
  My spare time is very limited too, but I would be willing to help.
 
  -Adrian
 
  --- On Thu, 7/8/10, Scott Gray scott.g...@hotwaxmedia.com wrote:
 
  From: Scott Gray scott.g...@hotwaxmedia.com
  Subject: Re: Hippo CMS
  To: dev@ofbiz.apache.org
  Date: Thursday, July 8, 2010, 12:04 AM
  Hi Michael,
 
  Personally, I wouldn't do anymore than the most basic CMS
  work with the existing OFBiz component, but maybe I'm biased
  because I want to see it replaced :-)
 
  In regards to working together, my spare time is pretty
  limited so I doubt that I'll be working very fast and
  probably nowhere near fast enough for your needs.
 
  If people are interested in helping out with my POC then we
  can always consider creating a jackrabbit branch in the
  OFBiz repo that people can use to collaborate.  The
  main reason I'm looking at a direct Jackrabbit integration
  is simply for learning purposes and to get a better
  understanding of what the best long term approach will be,
  there is every chance that it would never get merged back
  into the trunk if we later decide to take a different
  route.
 
  Regards
  Scott
 
  On 8/07/2010, at 6:07 PM, Michael Xu (xudong) wrote:
 
  hi Scott,
 
  Thanks.
 
  We are customizing ofbiz for a customer here in China.
  Party, Order,
  Agreement, AP/AR, Birt, Catalog are in the current
  scope and we feel very
  comfortable with the flexibility offered by ofbiz. Now
  customer needs CMS.
  However, current CMS component is not that ready in
  ofbiz. We are evaluating
  which way to go:
 
  1) enhance current ofbiz CMS component
  2) embed a 3-party CMS as a component
  3) integrate with a standalone 3-party CMS
 
  Option 1 seems very risky, as we have to re-invent the
  CMS wheel; Option 3
  seems also very risky, as there are many integration
  points, like
  user/permission, etc. Now I tend to using option 2
  just like what you are
  doing. Maybe we can work together on this.
 
  --
  Regards,
  Michael Xu (xudong)
 
 
  On Thu, Jul 8, 2010 at 1:52 PM, Scott Gray 
 scott.g...@hotwaxmedia.com
  wrote:
 
  Hi Michael,
 
  The idea was to add hippo as a component and use
  their webapp as an interim
  CMS while we build out similar functionality in
  OFBiz.  OFBiz would use the
  JCR API to interact with the underlying
  repository.
 
  In terms of progress... none.  In my spare
  time I'll be playing around with
  a jackrabbit integration for OFBiz and reading all
  the articles I can find.
  I feel like I need to better understand the JCR
  and content models in
  general before doing anything concrete.
 
  Regards
  Scott
 
  On 8/07/2010, at 5:27 PM, Michael Xu (xudong)
  wrote:
 
  Integrating here means to put Hippo as a
  ofbiz component or let it as a
  standalone application but integrating over
  data/service layer?
 
  --
  Regards,
  Michael Xu (xudong)
  www.wizitsoft.com | Office: (8610) 6267 0615
  ext 806 | Mobile: (86) 135
  0135
  9807 | Fax: (8610) 62670096
 
 
  On Thu, Jul 8, 2010 at 12:27 PM, Brett Palmer
  brettgpal...@gmail.com
  wrote:
 
  Scott,
 
  I like the idea of integrating with
  existing CMS applications.  When we
  are
  talking about hippo what of their various
  products are we considering
  here:
 
  Hippo CMS7
  Hippo Repository 2
  Hippo Site Toolkit 2
  or
  Hippo Portal 2.0
 
  from www.onehippo.org
 
 
  Brett
 
  On Fri, Jun 18, 2010 at 7:57 PM, Scott
  Gray scott.g...@hotwaxmedia.com
  wrote:
 
  Anybody using or considered using
  Hippo CMS (onehippo.org) in
  conjunction
  with OFBiz?
  - Apache Licensed
  - Uses Jackrabbit as its repository
  - Supports Versioning,
  Internationalization, Publishing Workflows and
  more
 
  We could start out by using Hippo's UI
  to manage content and retrieve
  it
  for display within OFBiz using the JCR
  API.  As the various document
  types
  needed

Re: Hippo CMS

2010-07-08 Thread Michael Xu (xudong)
hi Scott,

Thanks.

We are customizing ofbiz for a customer here in China. Party, Order,
Agreement, AP/AR, Birt, Catalog are in the current scope and we feel very
comfortable with the flexibility offered by ofbiz. Now customer needs CMS.
However, current CMS component is not that ready in ofbiz. We are evaluating
which way to go:

1) enhance current ofbiz CMS component
2) embed a 3-party CMS as a component
3) integrate with a standalone 3-party CMS

Option 1 seems very risky, as we have to re-invent the CMS wheel; Option 3
seems also very risky, as there are many integration points, like
user/permission, etc. Now I tend to using option 2 just like what you are
doing. Maybe we can work together on this.

--
Regards,
Michael Xu (xudong)


On Thu, Jul 8, 2010 at 1:52 PM, Scott Gray scott.g...@hotwaxmedia.comwrote:

 Hi Michael,

 The idea was to add hippo as a component and use their webapp as an interim
 CMS while we build out similar functionality in OFBiz.  OFBiz would use the
 JCR API to interact with the underlying repository.

 In terms of progress... none.  In my spare time I'll be playing around with
 a jackrabbit integration for OFBiz and reading all the articles I can find.
  I feel like I need to better understand the JCR and content models in
 general before doing anything concrete.

 Regards
 Scott

 On 8/07/2010, at 5:27 PM, Michael Xu (xudong) wrote:

  Integrating here means to put Hippo as a ofbiz component or let it as a
  standalone application but integrating over data/service layer?
 
  --
  Regards,
  Michael Xu (xudong)
  www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135
 0135
  9807 | Fax: (8610) 62670096
 
 
  On Thu, Jul 8, 2010 at 12:27 PM, Brett Palmer brettgpal...@gmail.com
 wrote:
 
  Scott,
 
  I like the idea of integrating with existing CMS applications.  When we
 are
  talking about hippo what of their various products are we considering
 here:
 
  Hippo CMS7
  Hippo Repository 2
  Hippo Site Toolkit 2
  or
  Hippo Portal 2.0
 
  from www.onehippo.org
 
 
  Brett
 
  On Fri, Jun 18, 2010 at 7:57 PM, Scott Gray scott.g...@hotwaxmedia.com
  wrote:
 
  Anybody using or considered using Hippo CMS (onehippo.org) in
  conjunction
  with OFBiz?
  - Apache Licensed
  - Uses Jackrabbit as its repository
  - Supports Versioning, Internationalization, Publishing Workflows and
  more
 
  We could start out by using Hippo's UI to manage content and retrieve
 it
  for display within OFBiz using the JCR API.  As the various document
  types
  needed by the OFBiz base applications begin to take shape we could look
  at
  ways to allow the content to be modified directly from within OFBiz
 (once
  again using the JCR API).
 
  Any thoughts, alternatives, ideas or whatever would be appreciated.
  I'm
  considering working on a POC in my spare time, not sure how long that
  might
  take at this stage.  I already have a copy of Hippo running inside
 OFBiz
  but
  that was just a matter of expanding their WAR distribution and wrapping
  it
  in a component, next step would be gaining access to the repo from
 OFBiz
  code.
 
  Thanks
  Scott
 
  HotWax Media
  http://www.hotwaxmedia.com
 




Re: Hippo CMS

2010-07-08 Thread Michael Xu (xudong)
hi Scott,

Ok, no problem. Will discuss further internally first and then decide where
to go ...

--
Regards,
Michael Xu (xudong)


On Thu, Jul 8, 2010 at 3:04 PM, Scott Gray scott.g...@hotwaxmedia.comwrote:

 Hi Michael,

 Personally, I wouldn't do anymore than the most basic CMS work with the
 existing OFBiz component, but maybe I'm biased because I want to see it
 replaced :-)

 In regards to working together, my spare time is pretty limited so I doubt
 that I'll be working very fast and probably nowhere near fast enough for
 your needs.

 If people are interested in helping out with my POC then we can always
 consider creating a jackrabbit branch in the OFBiz repo that people can use
 to collaborate.  The main reason I'm looking at a direct Jackrabbit
 integration is simply for learning purposes and to get a better
 understanding of what the best long term approach will be, there is every
 chance that it would never get merged back into the trunk if we later decide
 to take a different route.

 Regards
 Scott

 On 8/07/2010, at 6:07 PM, Michael Xu (xudong) wrote:

  hi Scott,
 
  Thanks.
 
  We are customizing ofbiz for a customer here in China. Party, Order,
  Agreement, AP/AR, Birt, Catalog are in the current scope and we feel very
  comfortable with the flexibility offered by ofbiz. Now customer needs
 CMS.
  However, current CMS component is not that ready in ofbiz. We are
 evaluating
  which way to go:
 
  1) enhance current ofbiz CMS component
  2) embed a 3-party CMS as a component
  3) integrate with a standalone 3-party CMS
 
  Option 1 seems very risky, as we have to re-invent the CMS wheel; Option
 3
  seems also very risky, as there are many integration points, like
  user/permission, etc. Now I tend to using option 2 just like what you are
  doing. Maybe we can work together on this.
 
  --
  Regards,
  Michael Xu (xudong)
 
 
  On Thu, Jul 8, 2010 at 1:52 PM, Scott Gray scott.g...@hotwaxmedia.com
 wrote:
 
  Hi Michael,
 
  The idea was to add hippo as a component and use their webapp as an
 interim
  CMS while we build out similar functionality in OFBiz.  OFBiz would use
 the
  JCR API to interact with the underlying repository.
 
  In terms of progress... none.  In my spare time I'll be playing around
 with
  a jackrabbit integration for OFBiz and reading all the articles I can
 find.
  I feel like I need to better understand the JCR and content models in
  general before doing anything concrete.
 
  Regards
  Scott
 
  On 8/07/2010, at 5:27 PM, Michael Xu (xudong) wrote:
 
  Integrating here means to put Hippo as a ofbiz component or let it as
 a
  standalone application but integrating over data/service layer?
 
  --
  Regards,
  Michael Xu (xudong)
  www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86)
 135
  0135
  9807 | Fax: (8610) 62670096
 
 
  On Thu, Jul 8, 2010 at 12:27 PM, Brett Palmer brettgpal...@gmail.com
  wrote:
 
  Scott,
 
  I like the idea of integrating with existing CMS applications.  When
 we
  are
  talking about hippo what of their various products are we considering
  here:
 
  Hippo CMS7
  Hippo Repository 2
  Hippo Site Toolkit 2
  or
  Hippo Portal 2.0
 
  from www.onehippo.org
 
 
  Brett
 
  On Fri, Jun 18, 2010 at 7:57 PM, Scott Gray 
 scott.g...@hotwaxmedia.com
  wrote:
 
  Anybody using or considered using Hippo CMS (onehippo.org) in
  conjunction
  with OFBiz?
  - Apache Licensed
  - Uses Jackrabbit as its repository
  - Supports Versioning, Internationalization, Publishing Workflows and
  more
 
  We could start out by using Hippo's UI to manage content and retrieve
  it
  for display within OFBiz using the JCR API.  As the various document
  types
  needed by the OFBiz base applications begin to take shape we could
 look
  at
  ways to allow the content to be modified directly from within OFBiz
  (once
  again using the JCR API).
 
  Any thoughts, alternatives, ideas or whatever would be appreciated.
  I'm
  considering working on a POC in my spare time, not sure how long that
  might
  take at this stage.  I already have a copy of Hippo running inside
  OFBiz
  but
  that was just a matter of expanding their WAR distribution and
 wrapping
  it
  in a component, next step would be gaining access to the repo from
  OFBiz
  code.
 
  Thanks
  Scott
 
  HotWax Media
  http://www.hotwaxmedia.com
 
 
 




Re: Hippo CMS

2010-07-07 Thread Michael Xu (xudong)
Any progress now?

--
Regards,
Michael Xu (xudong)


On Thu, Jun 24, 2010 at 3:59 PM, Scott Gray scott.g...@hotwaxmedia.comwrote:

 That makes far too much sense Adrian.

 I'm AFK for the next few days so I'll do it next week unless someone else
 wants to sooner.

 Regards
 Scott


 On 24/06/2010, at 5:38 PM, Adrian Crum adrian.c...@yahoo.com wrote:

  It might be worthwhile to post a message on the Jackrabbit user mailing
 list. Let them know what we have in mind, and see if they have any
 suggestions. Previous experience has shown that Apache sister projects are
 very helpful in integration efforts.

 -Adrian

 --- On Wed, 6/23/10, Sascha Rodekamp sascha.rodekamp.lynx.de@
 googlemail.com wrote:

  From: Sascha Rodekamp sascha.rodekamp.lynx...@googlemail.com
 Subject: Re: Hippo CMS
 To: dev@ofbiz.apache.org
 Date: Wednesday, June 23, 2010, 2:04 AM
 Hi Scott,
 jep that's sounds like a plan. In my opinion concentrating
 on Jackrabbit
 will be the best point to start.

 We should make some Jira Tasks and schedule them that we
 can start
 implementing ASAP :-). Did we need a separate Brunch?

 Cheers
 Sascha

 2010/6/23 Scott Gray scott.g...@hotwaxmedia.com

  Hi Sascha,

 Any help would of course be very much appreciated.

 I think regardless of what approach we take, everyone

 is mostly in

 agreement that we will be integrating with Jackrabbit

 or more importantly we

 will be making use of the JCR interface (in theory the

 actual JCR

 implementation should be irrelevant).  One thing

 I'm fairly sure we will

 need is a JAAS authentication module (and probably

 authorization) that we

 can plug in to the jackrabbit repository so that it

 can authenticate users

 via OFBiz.  That should be fairly straightforward

 I think, I'm less certain

 about what an authorization mechanism would look

 like.


 I guess we're also going to need to some sort of

 session provider interface

 that allows OFBiz to retrieve sessions from either an

 embedded repo or

 remote server repo and once again, it needs to be able

 to work with any JCR

 implementation.  I'm not entirely sure what that

 would look like at this

 stage but any thoughts on the topic would be useful.

 Most of the other questions come back to the content

 model and who controls

 it, will it be OFBiz or a random CMS or perhaps they

 will have separate

 models with some sort of jackrabbit internal

 synchronization between the

 two?  We need to look at these options and

 understand the pros and cons of

 each before we can move forward with any sort of

 certainty.


 Regards
 Scott

 On 22/06/2010, at 6:26 PM, Sascha Rodekamp wrote:

  +1

 i like the idea integrating a full featured CMS

 in ofbiz, a few weeks ago

 we

 started working with JCR but i think the Hippo

 way is a good one too :-)

 So Scott i would volunteer to help you :-) ...

 Have a good day
 Sascha

 2010/6/19 Scott Gray scott.g...@hotwaxmedia.com

  Anybody using or considered using Hippo CMS

 (onehippo.org) in

 conjunction

 with OFBiz?
 - Apache Licensed
 - Uses Jackrabbit as its repository
 - Supports Versioning, Internationalization,

 Publishing Workflows and

 more


 We could start out by using Hippo's UI to

 manage content and retrieve it

 for display within OFBiz using the JCR

 API.  As the various document

 types

 needed by the OFBiz base applications begin

 to take shape we could look

 at

 ways to allow the content to be modified

 directly from within OFBiz

 (once

 again using the JCR API).

 Any thoughts, alternatives, ideas or whatever

 would be appreciated.  I'm

 considering working on a POC in my spare

 time, not sure how long that

 might

 take at this stage.  I already have a

 copy of Hippo running inside OFBiz

 but

 that was just a matter of expanding their WAR

 distribution and wrapping

 it

 in a component, next step would be gaining

 access to the repo from OFBiz

 code.

 Thanks
 Scott

 HotWax Media
 http://www.hotwaxmedia.com





 --
 Sascha Rodekamp
   Lynx-Consulting GmbH
   Johanniskirchplatz 6
   D-33615 Bielefeld
   http://www.lynx.de





 --
 Sascha Rodekamp
   Lynx-Consulting GmbH
   Johanniskirchplatz 6
   D-33615 Bielefeld
   http://www.lynx.de







Re: Hippo CMS

2010-07-07 Thread Michael Xu (xudong)
Integrating here means to put Hippo as a ofbiz component or let it as a
standalone application but integrating over data/service layer?

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Thu, Jul 8, 2010 at 12:27 PM, Brett Palmer brettgpal...@gmail.comwrote:

 Scott,

 I like the idea of integrating with existing CMS applications.  When we are
 talking about hippo what of their various products are we considering here:

 Hippo CMS7
 Hippo Repository 2
 Hippo Site Toolkit 2
  or
 Hippo Portal 2.0

 from www.onehippo.org


 Brett

 On Fri, Jun 18, 2010 at 7:57 PM, Scott Gray scott.g...@hotwaxmedia.com
 wrote:

  Anybody using or considered using Hippo CMS (onehippo.org) in
 conjunction
  with OFBiz?
  - Apache Licensed
  - Uses Jackrabbit as its repository
  - Supports Versioning, Internationalization, Publishing Workflows and
 more
 
  We could start out by using Hippo's UI to manage content and retrieve it
  for display within OFBiz using the JCR API.  As the various document
 types
  needed by the OFBiz base applications begin to take shape we could look
 at
  ways to allow the content to be modified directly from within OFBiz (once
  again using the JCR API).
 
  Any thoughts, alternatives, ideas or whatever would be appreciated.  I'm
  considering working on a POC in my spare time, not sure how long that
 might
  take at this stage.  I already have a copy of Hippo running inside OFBiz
 but
  that was just a matter of expanding their WAR distribution and wrapping
 it
  in a component, next step would be gaining access to the repo from OFBiz
  code.
 
  Thanks
  Scott
 
  HotWax Media
  http://www.hotwaxmedia.com



Entity modification without restarting

2010-06-21 Thread Michael Xu (xudong)
hi all,

Now we are investigating the possibility to extend entity metadata without
restarting ofbiz, which I think make ofbiz more powerful as SaaS platform.

I am not that technical. But my idea is that:


   - have an entity metadata customization admin page to allow user add,
   remove fields (but yes, have to have some policy here)
   - ofbiz can persist such customization back to entity definition file
   - ofbiz can automatically adjust database schema

Not sure whether it is feasible. But if yes, then that would greatly reduce
the TCO, as business user can do minor customization.

Anyway, if we can improve metadata from just database definition up to more
business logic and UI, then that would be even greater.

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


Re: UtilCache bugs and coverage

2010-03-22 Thread Michael Xu (xudong)
hi Adam,

Thanks for your work. Cache layer is critical for ofbiz as ERP system.

Just one quick question: There are a lot of cache frameworks (Personally I
like Apache JCS very much) out there. Why ofbiz has to have its own
implement?

In my opinion, we have two ways to reduce bugs. Write more test codes, or
write less product codes. Maybe we can replace ofbiz components with some
existing components (say cache) or separate ofbiz components as sub projects
or just totally new project to attract more projects to use (say, entity
engine).

--
Regards,
Michael Xu (xudong)



On Mon, Mar 22, 2010 at 11:47 PM, Adam Heath doo...@brainfood.com wrote:

 So, for the past week, I've been working on automated test cases for
 UtilCache.  I can say that I've got the hardest parts done, namely,
 ttl and ref based testing.

 While writing the test cases, I discovered several bugs.  One of the
 biggies was very bad LRU handling.  This required some major
 rewriting, so that ttl and ref clearing is no longer polled.  There
 are background threads that magically remove items as soon as they are
 available for clearing.  This can actually reduce memory, because now
 as soon as tll or ref fires, the item gets removed from the cache,
 instead of waiting until some time later when a get is called.

 Additionally, CacheLineTable is no longer around, I've merged it into
 UtilCache directly.  I consider any of the CacheLine classes to be
 completely internal, and should not be used outside of UtilCache.
 Since expiration and invalidation are no longer a polled system, those
 methods actually no longer exist.  So any such methods that were
 involved with CacheLine management I am planning on removing.

 Below are the list of bugs that I have completely identified, and
 fixed.  There may be more, and my explanation may not be entirely
 accurate.  I should have this ready to be committed by the end of the
 week.  Afterwords, I'll finally start writing docs on all the
 git/testing stuff I've been talking about.

 ==
 * BUG: LRU out of order
  * BUG: containsKey() calls get(), which records an access
  * BUG: clear() notes removal before calling clear, and calls
get, which records an access in LRU mode.
 * BUG: With a positive expireTime, setting to any other positive
  value has no effect.
 * BUG: when an item was expired due to a ttl, or invalidated
  when a soft ref was cleared, the disk store would have the
  item removed as well.  So the disk store actually gave no
  benefit whatsoever.
 * BUG: CacheLineTable stored CacheLine instances in the file
  store, and didn't handle changing them to the proper reference
  when reading from disk, if the reference type had been changed.
  If the ref type was changed, then the disk-based ref type would
  be changed, but just doing a fetch from disk wouldn't handle
  the ref type change.  It is possible that upon reading the
  serialized CacheLine from disk, that a soft ref would be
  immediately cleared.
 * BUG: CacheLineTable synchronized on (this) when creating the
  static, shared jdbmMgr; never noticed in production, as ofbiz
  startup is single threaded.
 * BUG: CacheLineTable created a global jdbmMgr, using the
  per-cache fileSystemStore location.
 * BUG: Using a fileStore without SoftReference makes no sense.
  All objects might have a ttl attached, which caused memory and
  disk access for put/remove, or, without a cache, the memory
  store would always be the same as the disk store.
 * BUG: CacheLineTable.remove called fileTable.remove, but didn't
  call jdbmMgr.commit().
 * BUG: getCacheLineKeys(), and other collection based
  meta-methods, didn't handle invalidation or expiration.
 * FEATURE: CacheLineTable didn't add fetched values from disk
  into memory, to take advantage of LRU and soft ref processing.



Re: Ofbiz project management for the Ofbiz project

2010-03-20 Thread Michael Xu (xudong)
+1

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Sun, Mar 21, 2010 at 3:05 AM, BJ Freeman bjf...@free-man.net wrote:

 Ofbiz has project management.
 I would like to propose that we maintain an instance where the DB is not
 updated and projects can be done.

 We can have a project for each folder under Ofbiz. I would be glad to
 provide that data to initialize this.
 People can add themselves as parties, for fun they can even add their
 rates so there can be a approximation of the type of man power and cost
 this type of projects would cost if not open source.

 The main thrust behind this is to get some organization about what is
 being or going to be done to Ofbiz and who is going to volunteer to work
 on portions. It would give an Idea when certain portions will be done,
 or show where more man power is needed for those that want to volunteer.

 This is totally a voluntary process but as people warm up to it, I
 believe it would have many advantages was well as demonstrating the
 operability of Ofbiz to do project management.

 Maybe other will keep their own project management in a local copy then
 import their project into Ofbiz that is maintained at apache.

 As a long range goal would like to see Jira and commits tied into the
 project management
 Thinks it would be a fantastic tool.

 =
 BJ Freeman
 http://bjfreeman.elance.com
 Strategic Power Office with Supplier Automation 
 http://www.businessesnetwork.com/automation/viewforum.php?f=93
 Specialtymarket.com http://www.specialtymarket.com/

 Systems Integrator-- Glad to Assist

 Chat  Y! messenger: bjfr33man
 Linkedin
 
 http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro
 





Re: Conditional seed data loading

2009-12-31 Thread Michael Xu (xudong)
Maybe we can take a look at mashup, which is not that heavy as portlets.

http://en.wikipedia.org/wiki/Mashup_(web_application_hybrid)
 http://en.wikipedia.org/wiki/Mashup_(web_application_hybrid)
--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Fri, Jan 1, 2010 at 2:37 AM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 Actually we would just have to change the name at the surface, from a
 marketing POV if you prefer. No need to change underneath.
 But sincerely I have not much time for that... Where is it used in
 documentation which could induce new users in error?


 Jacques

 From: Ruth Hoffman rhoff...@aesolves.com

 Hi Jacques:
 IMO, it is a big deal. When someone is looking at OFBiz for an enterprise
 solution and the competition is Jetspeed, Liferay, Websphere etc., we should
 be clear  that when the OFBiz project says Portal it does not mean what
 everyone else thinks it means. It is misleading.

 Just to be clear: I don't think OFBiz needs a JSR compliant portal server.
 In my experience, portal servers are bloated and overrated and have limited
 use.

 Maybe we could take a little survey - do some marketing - and come up with
 another label for these features/functions?

 Just a thought.
 Ruth

 Jacques Le Roux wrote:

 From: David E Jones d...@me.com

 Bring confusion in the future? That's like saying you shouldn't use the
 term object-relational mapping unless you're talking about JPA.

 Just like object-relational mapping is a general term with many
 variations and implementations, and supporting the JPA interfaces is simply
 a feature of some of those implementations, portal and portlet are also
 general terms with many variations and implementations, and only some of
 them support the JSR 168 specification.

 Should we then say that portal/portlet software not written in Java
 should not use those terms?

 If so, which terms should those unfortunate souls use to describe their
 creations?


 OFBiz-portlets and OFBiz-portal ? Not a big deal anyway, just that some
 people think they will be able to embed some external portlets in OFBiz and
 are dissapointed.

 Jacques

  -David


 On Dec 31, 2009, at 8:48 AM, Jacques Le Roux wrote:

  I agree with Ruth, this will (and has already) certainly bring some
 confusion in future.

 Jacques

 From: Ruth Hoffman rhoff...@aesolves.com

 Hi David:
 IMO the term portlet should only be applied to JSR 168/268 compliant
 code.

 Regards,
 Ruth

 David E Jones wrote:

 MyPortal still needs a lot of work.

 It should really be just the shell of the portal and include only a
 very few portlets that are part of the framework.

 Higher level components, including applications components, can have
 their own portlets that appear in MyPortal by having data in seed/etc 
 data
 files, and that data will tell MyPortal about these portlets.

 OOTB the MyPortal stuff shouldn't know anything about any portlets
 (other than a few basic framework ones). At runtime MyPortal will look 
 for
 information about other portlets, but that information should come only 
 from
 the higher level components where the portlets themselves live.

 -David


 On Dec 31, 2009, at 4:50 AM, Bruno Busco wrote:


  That's true, it would be still a dependence.

 Anyway, in this case the MyPortal is considered to be dependent from
 all other components (because it mounts portlets defined by all
 other components in the default portalPages).
 It should be possible to use the MyPortal component even if one of
 the
 other components is not used.

 I think a different logic is needed here.

 -Bruno

 2009/12/31 David E Jones d...@me.com:

  That still represents a dependency on the other component.

 Lower level components should not even have anything that
 represents an awareness of a higher level component.

 The solution, and the only solution, is to move the data to the
 higher level components. It's that simple.

 -David


 On Dec 30, 2009, at 5:54 PM, Bruno Busco wrote:


  Hi,
 the MyPortal component has many seed data that create a dependence
 from many other components.
 This is done because the seed data create the default MyPortal
 portalPages that include several portlets from all other
 components.

 For example:
  PortalPagePortlet portalPageId=MYPORTAL_EMPLOYEE
 portalPortletId=SystemInfoNotes portletSeqId=1
 columnSeqId=1 sequenceNum=0/
  PortalPagePortlet portalPageId=MYPORTAL_EMPLOYEE
 portalPortletId=SystemInfoStatus portletSeqId=1
 columnSeqId=1 sequenceNum=1/
  PortalPagePortlet portalPageId=MYPORTAL_EMPLOYEE
 portalPortletId=Calendar portletSeqId=1
 columnSeqId=1
 sequenceNum=2/
  PortalPagePortlet portalPageId=MYPORTAL_EMPLOYEE0
 portalPortletId=INCOM_CUST_REQUESTS portletSeqId=1
 columnSeqId=1 sequenceNum=0/
  PortalPagePortlet portalPageId=MYPORTAL_EMPLOYEE0
 portalPortletId=MyCommunications portletSeqId=1
 columnSeqId=1 sequenceNum=1

Re: getNextSeqId and multiple sequence on entity

2009-12-24 Thread Michael Xu (xudong)
Another option is that we can make the logic configurable. Define a unique
interface and provide 2 standard  implementations (one is for single mode
and the other is for cluster mode). User can choose one or implement a new
one.

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Thu, Dec 24, 2009 at 11:52 PM, Nicolas Malin 
malin.nico...@librenberry.net wrote:

 After some reflection on this subject, I arrive to :
 getNextSeqId is use normaly to get an single id that identify an
 entity : Invoice.invoiceId, Order.orderId, Party.partyId etc ...
 It's easier to remove the problematic instruction but bypasses
 getNextSeqId purpose.

 For multiple sequence on Entity I suggest to create new function on
 delegator : getNextSequence (String entityName, String diff, long
 staggerMax) that manage sequence as getNextSeqId but analyse just the
 validity of entityName and generate sequenceValueId : entityName.diff.

 As this, Delegator continue to work only on entity and not use for other
 not in relation with entitymodel.

 For sequence not in relation with entity, I can extend sequenceUtil to
 have a function SequenceUtil.getNextSequence(String key, long
 staggerMax).

 Brett can you give me an example for your proposal ? I don't really
 understand your improvement.

 If you wait to read, Have a nice end year ;)
 Nicolas


 Le mercredi 23 décembre 2009 à 13:49 -0700, Brett Palmer a écrit :
  I confirmed that if you use the delegator.getNextSeqId() you will get an
  exception every time it is used with a complaint that an entity doesn't
  exist for the sequence you requested.  It does give still generate an ID
 but
  the exception is a little concerning when you are running in a production
  environment.  This exception probably isn't intended but is a consequence
 of
  the call to look for the entity name.
 
  I would prefer we just outputted a warning log and not threw an
 exception.
 
  Another request for the sequence generator is the ability to specify the
 gap
  between the next sequence ID update.  This can be configured in the
 entity
  engine but only for those IDs that have a corresponding entity.  If you
 try
  to use a generic sequencer with no attached entity the default is 10
 which
  can be low for a production environment with multiple servers.  Could we
 add
  a column to the SequenceValueItem to include the next increment value?
 
 
  Brett
 
  Here is the stack trace:
 
 
   exception report
  --
  Error getting entity definition from model
  Exception: org.ofbiz.entity.GenericModelException
  Message: Could not find definition for entity name DummySequence
   stack trace
  ---
  org.ofbiz.entity.GenericModelException: Could not find definition for
 entity
  name DummySequence
  org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:451)
  org.ofbiz.entity.DelegatorImpl.getModelEntity(DelegatorImpl.java:1544)
  org.ofbiz.entity.DelegatorImpl.getNextSeqIdLong(DelegatorImpl.java:1693)
  org.ofbiz.entity.DelegatorImpl.getNextSeqId(DelegatorImpl.java:1655)
  org.ofbiz.entity.DelegatorImpl.getNextSeqId(DelegatorImpl.java:1651)
 
 com.automationgroups.pe.util.InventoryContainer.start(InventoryContainer.java:27)
  org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
  org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
  org.ofbiz.base.start.Start.startServer(Start.java:322)
  org.ofbiz.base.start.Start.start(Start.java:326)
  org.ofbiz.base.start.Start.main(Start.java:409)
 
 
 
  2009-12-23 13:29:07,218 (main) [   SequenceUtil.java:236:WARN ]
  [SequenceUtil.SequenceBank.fillBank] first select failed: will try to add
  new row, result set was empty for sequence [DummySequence]
  Used SQL: SELECT SEQ_ID FROM SEQUENCE_VALUE_ITEM WHERE
  SEQ_NAME='DummySequence'
   Thread Name is: main:Thread[main,5,main]
  2009-12-23 13:29:07,312 (main) [   SequenceUtil.java:341:INFO ] Got
 bank
  of sequenced IDs for [DummySequence]; curSeqId=1, maxSeqId=10010,
  bankSize=10
  2009-12-23 13:29:07,312 (main) [ InventoryContainer.java:28 :INFO ] Here
 is
  the sample sequence Id: 1
  2009-12-23 13:29:07,343 (main) [  GenericDispatcher.java:61 :INFO ]
 Creating
  new dispatcher [RMIDispatcher] (main)
 
 
 
  On Wed, Dec 23, 2009 at 12:54 PM, Scott Gray scott.g...@hotwaxmedia.com
 wrote:
 
   It looks to me as though an exception is being logged rather than
 thrown,
   is the id still being generated?
  
   Regards
   Scott
  
   HotWax Media
   http://www.hotwaxmedia.com
  
  
   On 24/12/2009, at 3:31 AM, Nicolas Malin wrote:
  
Hi all,
  
   It's possible that this subject has been already discussed here but I
   don't find any trace in the archives.
  
   A long time

Re: Application framework technology set

2009-12-17 Thread Michael Xu (xudong)
It is really a good thread. Especially those questions from Anil Patel last
year. But one year past, it seems ofbiz is still in the same place. Really
look forward to  more comments and actions.

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Mon, Dec 14, 2009 at 2:23 PM, Vasanth Kamatgi vast...@ecomzera.comwrote:


 I have been working on Ofbiz for the past 4 years and have got fairly good
 proficiency in all major areas of Ofbiz.  One problem I have consistently
 faced with Ofbiz is its presentation layer.  There isn’t a strict
 separation
 of UI / Code in the presentation layer.  Due to this deficiency, for any
 revamp in the UI, even though there is no associated change in the
 functionality / business logic, it takes substantial amount of developer
 time.  I see this as a major hindrance to a typical ecommerce website,
 where
 UI changes are frequent as well as significant.  For this reason, I am
 looking for the possibility of replacing the presentation layer with a more
 modular framework with good separation of concerns of UI designer and
 developer.

 This is an excellent post that could have thrown more light on the issue of
 replacing certain elements of Ofbiz with more powerful alternatives.
 However I see that there haven’t been many conversations on this topic for
 a
 long time now.  I would like to see more people participate.

 At this point, I am specifically looking at the possibility of replacing
 the
 Ofbiz presentation layer with Wicket.  I wonder if anyone had tried it out.
 In addition to people who have done this experiment, I would like to hear
 from others, on the possible pros / cons of this approach.  My objective is
 – How to make ecommerce module amenable to major UI changes (including
 swapping components from one page to another, splitting pages etc.) with
 least amount of developer involvement and UI designer controlling most of
 the activity.

 Thanks,
 Vasanth


 Andrew Zeneski-2 wrote:
 
  Anil,
 
  These are really great questions to ask, and I am excited to see this
  thread start. Let me be the first to say, I agree with you 100% that
  now is the time to plan for the future.
 
  When we started OFBiz in 2001, the tools available were less powerful
  and less appealing than the ones available today. If we were starting
  today I think a lot would be different. For example, I would probably
  vote for JPA over writing another persistence layer. I would vote for
  using Stripes, Wicket, or maybe JSF (but v2) for presentation. On the
  service layer, I would prefer to use an existing framework be it EJB
  (session beans) or some flavor of an ESB (maybe ServiceMix). In the
  end, focus 100% on the applications and let the other projects focus
  on each specific framework piece.
 
  Most of all, I would vote in favor standardized deployment. OFBiz is
  not SAP, we just don't have enough clout to dictate how the
  application should be deployed. People bend over backwards and design
  their entire infrastructure around SAP, we should do the opposite;
  allow OFBiz to adjust to a company's infrastructure (without headaches).
 
  The last thing I would do differently, if I could figure out a way
  how, is to decouple the applications. So that a CRM application does
  not require the overhead needed for Orders and Products.
 
  Then we have the next question, what types of applications should we
  focus now to be the leader in the next 5 years? Do with stick with
  ERP, or do we look to make some changes? But I think this should be a
  thread all in itself.
 
  Andrew
 
 
  On Oct 24, 2008, at 7:36 PM, Anil Patel wrote:
 
  Hi,
  I am having little difficulty to envision, What Ofbiz will look like
  a year or two down the road?
 
  I am personally satisfied with most of core technologies of ofbiz
  except for Form widget. Form widgets needs some enhancements and
  even those don't seem too difficult. Ofbiz framework technologies
  made development lot easy back in day when J2EE made things
  impossible. Now, 7 years down the road, Java enterprise application
  development tool set has changed a lot.  What I am trying to get out
  of this thread is, What others in community think about it?
 
  At different times, people have asked for ability to deploy ofbiz on
  application servers other then Tomcat, and in JEE recommended style,
  like create war or ear. I am curious what did these people do? Did
  we loose those potential ofbiz users!, Or Did they accept whatever
  is available and used ofbiz to solve their business problems.
 
  There are some JEE spec compliant technologies that we can use
  instead of home grown like,  use
  1) Ice Faces (or Myfaces) instead of Form Widget
  2) JPA instead of Entity engine
  3) EJB instead of Service engine
  4) Integrate with Pluto for Portal server
  5) use third party Content management
 
  I think Ofbiz community is more interested

Re: Why ESME was: proposal: ESME

2009-12-14 Thread Michael Xu (xudong)
hi Hans,

Some customers here are asking for this feature. So it is really great to
see your proposal.

Just one idea for your consideration: it would be great if ESME could happen
in transaction level to support business collaboration. For example, buyer
and supplier can communicate for a specific order, invoice or agreement by
using ESME; project owner, approver, task owner can communicate for a
specific task in ProjectMgr, etc. And all those messages then can be
monitored or tracked.

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Sun, Dec 13, 2009 at 10:04 AM, Hans Bakker mailingl...@antwebsystems.com
 wrote:

 Some users are wondering if ESME is useful to add to OFBiz or not,
 therefore some promotion why I think it is interesting and yes I have
 business cases for it:

 1. It started with a request of our customers to have a chat possibility
 in e-commerce for new users to ask questions via chat. I looked at 2
 chat open source frameworks. Then ESME was proposed here in the mailing
 list. My opinion is that if ESME can do chat too, then better go for
 ESME so we have also twitter functions. (as Tim also stated)

 2. ESME allows to use the twitter principle in a protected business
 environment: developers/marketeers exchanging ideas, announcing news and
 problems. (yes you should use OFBiz in your company to see these
 benefits)
 If you are still not convinced of twitter in a business environment: get
 a twitter account and follow me: @hansbak i will keep you informed about
 ESME within OFBiz and you will have the opportunity for point 3 as a
 bonus.

 3. ESME was actually born in the SAP environment and many people from
 this environment now getting exposed to OFBiz because we are looking at
 ESME too and the ESME people retweet my ESME experiences to their
 network of twitter accounts.

 I was not convinced about this twitter stuff but using this for my ESME
 investigations has shown me that it is actually pretty exiting getting
 to know so much new people in such a short time.

 David thanks for the support because it looks like that the OFBiz
 community has a problem accepting new functions like this one, even if
 it does not affect their usage of OFBiz. So please people, not too
 conservative and always be open to new developments!

 Regards,
 Hans




 On Sat, 2009-12-12 at 16:30 +0700, Hans Bakker wrote:
  Proposal:
 
  We are looking to copy an ESME server within OFBiz as a component to
  allow for twitter like messaging within the OFBiz environment.
 
  users coming on the ecommerce site can 'twitter' a message which is
  monitored by the system admin, who can answer the questions.
 
  Logged in users can follow other registered users and can twitter what
  they are doing...
 
  more info at
  http://cwiki.apache.org/confluence/display/ESME/Collaboration+with+OFbiz
 
  any thoughts?
 
  regards,
  Hans (@hansbak)
 
 --
 Antwebsystems.com: Quality OFBiz services for competitive rates




Re: Birt licensing problems need help, I cannot solve, scott can you help.

2009-12-01 Thread Michael Xu (xudong)
hi Hans,

In worst case, if the legal issue cannot be solved, what's the next step?
Can you setup a new  project in sourceforge specifically for Birt
integration?

It seems quite a lot of people are looking forward to the integration.

BTW: Put the license issue aside, why you chose BIRT as report tool in
ofbiz? Any reason for Birt over jasper report and pentao?

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com


On Tue, Dec 1, 2009 at 5:01 PM, Hans Bakker
mailingl...@antwebsystems.comwrote:

 So you are not willing to discuss this with the eclipse guys and help me
 solve a problem you came up with and seems to be blocking.

 This is how i solved the docbook license problem and got an approval
 from the owners because all this licence stuff is a pain in the butt not
 only for us but also for them. Apache OFBiz gets now so much weight that
 often they either change the license or give us a specific approval.

 Regards,
 Hans

 On Tue, 2009-12-01 at 21:42 +1300, Scott Gray wrote:
  You'll really need to direct this to the legal mailing list,  I'm not
  a lawyer and I have no idea what sort of exception they would need to
  make and what form it would take.  All of my opinions have been based
  on the assumption that we would change to fit the licenses and not the
  birt team change to suit us.
 
  Regards
  Scott
 
  On 1/12/2009, at 9:23 PM, Hans Bakker wrote:
 
   Scott,
  
   i am trying to solve it the other way around. If they give us the
   approval (= license) to include it in OFBiz, then we do not need an
   clarification of the EPL license terms inside apache.
  
   Also they seem not understand our problems, they state:
   let us know and we will keep trying to help  you guys out.
  
   that means they have an interest to have birt runtime distributed by
   OFBiz.
  
   so if you can explain to them which problems we have then perhaps they
   will grant to license to us.
  
   Regards,
   Hans
  
  
   On Tue, 2009-12-01 at 20:56 +1300, Scott Gray wrote:
   Hi Hans,
  
   I can try to help but I'm not sure I understand, nothing is in
   question on the Eclipse side, birt is licensed EPL end of story,
   asking them to change their license would be like someone asking us
   to
   change ours.  The issue we're facing is compatibility of the ASL with
   the EPL and we need to resolve it internally.
  
   The ASF rules as I understand them (described here:
 http://www.apache.org/legal/resolved.html#category-b)
is that you cannot include EPL licensed source code in ASL licensed
   distributions, except for a very narrow range of exceptions.  You can
   however include as many EPL licensed binaries as you like.
  
   Any java files that have been copied and modified from EPL source
   code
   (I pointed them out in another email, I don't have them handy) must
   be
   removed and replaced with new code without referencing EPL source
   code
   to create them (a clean-room implementation).
  
   It is also my opinion that we cannot include EPL licensed javascript
   files (although David disagrees), which means we need to remove the
   web report viewer.  If you want to side with David and keep the
   report
   viewer then at the very least the question should be asked on the
   legal mailing list.
  
   Regards
   Scott
  
   HotWax Media
   http://www.hotwaxmedia.com
  
   On 1/12/2009, at 8:25 PM, Hans Bakker wrote:
  
   Hi Sott.
  
   can you help?
  
   You brought up the licensing concerns. We tried to talk to the
   licensing
   people at Eclipse and i am trying to solve a licensing problem as a
   middleman i do not understand.
  
   Could you please clarify with the people at lice...@eclipse.org
   and in
   particular mike.milinkov...@eclipse.org your concerns?
  
   I am unable to solve the problem you brought up.
  
   Regards,,
   Hans
  
   This is the last conversation we had up to now:
   We sent the following message:
   We would like to ask for approval of the inclusion of the BIRT
   runtime
   with Apache OFBiz because we have concerns in the ofbiz community
   of
   we can include the runtime.
  
   one of our committers found the following license problems:
   I checked out the branch and had a look, I see a large number of
   javascript and jsp source files that are EPL licensed and I'm
   pretty sure that we cannot include them.
  
   Additionally and this one is a little more obscure and I could
   quite possibly be wrong but the dteapi.jar file contains a
   javax.olap package and the only reference I can find to that
   package is jsr-69 (http://jcp.org/en/jsr/detail?id=069).
   According
   to that page the jsr never reached Final Release and the Proposed
   Final Draft was licensed under an evaluation license.  Birt has
   written the source code for the interfaces defined by the
   specification themselves and licensed it as EPL but I have know
   idea whether they were legally allowed to do that.
  
   could you please clarify these concerns?
  
   His answer

about report

2009-12-01 Thread Michael Xu (xudong)
hi all,

We are trying to use BIRT in ofbiz and I found there is two related JIRA
issues:

1) http://issues.apache.org/jira/browse/OFBIZ-1348
2) 
http://issues.apache.org/jira/browse/OFBIZ-2347https://issues.apache.org/jira/browse/OFBIZ-2347

There is a release for each issue. Which release is preferred?

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com


Re: about using ofbiz as a platform

2009-11-30 Thread Michael Xu (xudong)
hi Bruno,

Thanks for your reply. I wish I could make it by myself. However, it turns
out too challenging for me. I think it is more piratical if one or more
committer could lead the overall process.

At this moment, what I can suggest is that the current big ofbiz might need
to be split into sub projects, like framework, ERP, CRM, eCommerce, etc.

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Wed, Nov 25, 2009 at 4:30 AM, Bruno Busco bruno.bu...@gmail.com wrote:

 Hi Michael,
 the framework isolation and a framework-only installation is
 definitely something the community as talken about many times. You
 will find several conversations searching the mailing list.

 We will have it sooner or later and any help you could provide on this
 topic will be much appreciated.

 -Bruno

 2009/11/24 Michael Xu (xudong) dong...@wizitsoft.com:
  hmm...I compared the article and the latest code from trunk. I don't
 think
  the diagram is consistent with codes.
 
  For example, from the diagram party doesn't depend on marketing; however,
 as
  I mentioned in previous email, party entity definition does use
  ContactListParty from marketing.
 
  --
  Regards,
  Michael Xu (xudong)
  www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135
 0135
  9807 | Fax: (8610) 62670096
 
 
  On Tue, Nov 24, 2009 at 9:16 PM, Michael Xu (xudong)
  dong...@wizitsoft.comwrote:
 
  Just found an article about the dependency:
 
 http://docs.ofbiz.org/display/OFBADMIN/Component+and+Component+Set+Dependencies
 
 
  
 http://docs.ofbiz.org/display/OFBADMIN/Component+and+Component+Set+Dependencies
 From
  the component relationship diagram, it seems I have to include all
  components under framework and application in my new application. Is it
  correct?
 
  --
  Regards,
  Michael Xu (xudong)
  www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135
  0135 9807 | Fax: (8610) 62670096
 
 
 
  On Tue, Nov 24, 2009 at 9:07 PM, Michael Xu (xudong) 
  dong...@wizitsoft.com wrote:
 
  hi all,
 
  I try to build a new application using ofbiz. Basically, I want to use
 the
  nice overall architect of ofbiz, theme mechanism and
  Party/Permission/SecurityGroup. However, I found it is very difficult
 to
  remove unnecessary components.
 
  For example, entitymodel.xml from applications/party
  uses ContactListParty, which is from marketing component. I think such
  dependency doesn't make much sense, as marketing is only an optional
  component but party is a must.
 
  What's the best practice for my case? Advices and clues will be very
  appreciated. Thanks in advance.
 
  --
  Regards,
  Michael Xu