You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

ESME - OFBiz collaboration - Separate

General Use case

  1.  a new user visits the ecommerce site
  2. this new user enters a microblog message with a question to the administrator of the site.
  3. One of the system administrators answers the microblog question as quick as possible
  4. further conversation follows.

Technical Prerequisites

  • You would need an ESME instance (either on a separate server or in the same container). 
  • You would need at least two users (administrator, newuser) "newuser" would notbe associated with a particular user but would be more of an anonymous user.  If you had multiple unauthenticated users using the same  e-commerce site, then they would also see / join the same conversation. Depending on the question, they might be able to help the new user as well.

Technical Description

The basic idea is that an OFBiz UI will be created to capsule the ESME functionality

Architecture

ESME as separate component

ESME as OFBiz component

Advantges
  • let it use the OFBiz authentication
  • allows ESME to use essential system functions like system messages and ease of installation

Prototype

  1. Deploy ESME in your existing tomcat
  2. Create two users in ESME: newuser and administrator. 
  3. Create a very rough OfBiz UI component to read and post ESME messages. This is the UI for new users. Use the token for the new users in this UI
  4. The administrator could use the same OfBiz UI component but you have to set the token to the administrator user. 
  5. If you don't want to deploy ESME locally, then you could use our test server in the cloud

Iterations

  1. Use ESME as a separate component
  2. Make ESME an OFBiz component

Questions

  1. User authentication: Currently, ESME has its own authentication and can't use container authentication :-<. We use tokens for our APIs and our support of the Twitter API is based on username / password.  There are ways to get around this limitation. I don't know OfBiz authentication well enough to know whether the user or an administrator could add - either manually or automatically - a token to the user object that is later used to ESME REST API calls.
  2. .
  • No labels