Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Concurrency and SCEA Assignment  RSS feed

 
Matthew Nguyen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How important do you guys think addressing concurrency issues is in the marking of the SCEA Assignment? By concurrency issues I mean multiple customers attempting to book the same seat or to book the last seats on a flight at the same time.
 
Surajit Dutta
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This would depend on the requirements too. If the requirements are such that you need to support concurrency, then you need to design accordingly.
There are techniques for doing the same for example using Optimistic Locking patterns in EJBs.

References:

1.http://www.javaworld.com/javaworld/jw-07-2001/jw-0713-optimism_p.html
2.http://www.sys-con.com/websphere/articleprint.cfm?id=470
3.http://www-106.ibm.com/developerworks/websphere/techjournal/0406_persson/0406_persson.html

Thanks,
Surajit
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!