简体   繁体   中英

Default scope of seam component

如果我们不在seam组件中声明范围类型,那么它的范围类型是什么?

There is no exact answer for this and this is a basic point that you should understand well.
Read this for more info: Seam contexts

Summary:

  1. If your component is a SFSB (Stateful Session Bean) the default scope will be " Conversation " sope. However if you didn't propagate it taking proper actions this default conversion normally exists only within the request cycle. So you may see this as event scoped.( You should read more )
  2. If the component is a SLSB the default scope will be " Stateless ".
  3. If your component is a POJO the default scope will be " event ".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM