• 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

How static method will behave ?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using session facade.All my logic is in a separate file lets called logic class.If i will declare my methods are static methods in this class then in the multithreaded environment how it will behave?My doubt is when clients call my methods through stateless session bean is there any problem ?

Can anyone clarify my doubt.
Thanx in Advanced .

[ June 15, 2004: Message edited by: Himanshu Babuni ]

[ June 15, 2004: Message edited by: Himanshu Babuni ]
[ June 15, 2004: Message edited by: Himanshu Babuni ]
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In general you should avoid read/write operations such as state management and transition in static methods.
 
reply
    Bookmark Topic Watch Topic
  • New Topic