• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

what happens if i use file io, and server sockets etc

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
if i use prohibited stuff like io, server sockets, read/write of static variables
is that a compile time problem, deploy time or run time?
is it different for each of the above?

1) the readwrite static variable restriction, is applicable to the bean implenetation class only or any helper classes running in same container.
i have used static variable read write in helper claass in jboss and seems to work fine. (my bean uses a class which is a singleton.)
even runs fine.
is that not suggested??
what r the implications if i go ahead with that.
does that make a difference because each container have its own class loading mechanism, and my app may not work in other containers.
i would love to hear all possible implications of it.
does the synchrization rules(not applying synchronization) apply for the helper class too or just for the bean implementaion class.

thank you for ur time, i really appreciate it.
thanks
sid
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic