• Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet or ejb implementation

 
Binoj Viswanathan
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am confused whether i shud go for servlet implementation or ejb implementaion for my application.it only has to access data(diplaying in mobile phones).there may thousands of users at a time.there is no update or insert of data by the users.but some other external systems are changing the the data (rapidly changing)every second/millisecond!!!.here is my problem.pls guide me
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the application is read only and you are only displaying it in one form (on the mobile phones) then I cannot imagine why you would need EJB's. You don't need transactions, you don't need distribution (no fat clients) and since it's read-only you probably don't need object-level security.
Kyle
 
Binoj Viswanathan
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
yea i do agree with that.
but some external applications inserting new data(also updating the existing data) while u r accessing the info.(for e.g., live commentary given for base ball or cricket competition ) how do u synch the info send to the client?
thanx
binoj
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll never be caching the data (unless you need to) so synching the data shouldn't be an issue.
Kyle
 
Binoj Viswanathan
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The external system (a converter which reads data in XML format) is also part of the same application (i.e. in same application server cluster) but independent of main syatem. The converter reads the �dynamic data� from content source (XML format) and converts it and inserts into the database. Static data is not going to the system database. The converter sends directly to the XML repository. An application component reads it from XML repository and sends to the mobile users.
The clients (mobile phones/PDAs) request for the latest data. (There may be thousands of users at time). The main system reads the data from DB and sends to the client as per the request. The rate of change of dynamic data is so high in peak season. Millions of data inserted into the database.
thanx binoj
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!