3 Replies Latest reply on Jul 20, 2008 11:23 AM by Pete Muir

    associating a Seam component with a context and memory allocation

    System Administrator Expert

      When Seam is initialized when JBoss starts up and there is a seam.properties file in the resources folder for the WAR/EAR, Seam scans the EAR/WAR for classes marked with the @Name annotation so that they will be available for run-time processing like when they are referenced in JSF EL.


      2008-07-18 07:06:18,367 INFO  [org.jboss.seam.Component] Component: hotelBooking, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelBookingAction, JNDI: jboss-seam-booking/HotelBookingAction/local

      So in this case, the hotelBooking component lives in the conversation context of that particular user session.

      In terms of memory allocation, what/where exactly is a context (whether it's session, conversation, page, business process, etc.)?  Is it a place in the JVM heap?  How can I find out the details of this?  thx.