aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Part2: Managing state for both web and GUI client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply locked New topic
Author

Part2: Managing state for both web and GUI client

sharpshooter
Greenhorn

Joined: Jan 03, 2008
Posts: 1
Hi All,

I am just starting the part II of SCEA. Having considered the usecases, I would like to avoid using stateful session bean to manage the state for both the Web and Gui client as i believe this application does not warrant such a high performance overhead, but although i can use HttpSession for web client, is there an equivalent for the Swing app?

Also, is it posible to have a deployment descriptor for swing apps so that i can configure role based security? What i mean is with J2ee web apps we can configure login in web.xml and secure resources against roles which would be subseqently be mapped to security groups on the app server.

Many thanks for your help in advance.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11460
    
  94

"sharpshooter"

Welcome to JavaRanch and this forum. One of the few site rules we have is the JavaRanch official policy on registered names. That policy requires the display name to have both a first and last name, and to appear to be a legitimate name (so you don't have to use your real name if you really don't want to). Please change your display name to meet these requirements. You can change your display name here.

In addition, some forums have their own specific rules. This is especially true with the certification forums, where Sun have made specific requests of us. The rules for this forum are listed in the JavaRanch SCEA FAQ. In particular, you need to be aware of the following rule:
  • What is the policy on posting questions I saw on the exam / details of how to do the assignment?


  • You may not describe or talk about the questions you saw on any of the Sun exams - see the JavaRanch Policy on Real Questions for further details. (http://www.javaranch.com/realquestions.jsp)

    For questions / discussions on the assignment, in general we will allow discussion where members are trying to understand the domain model and/or terms used in the assignment. We will also allow questions about which tools to use.

    But we will not allow discussion on a solution to the assignment (or a part of the assignment) itself.

    Refer to the thread "IMPORTANT - Position on real assignment (Part 2) questions" for more information.(http://www.coderanch.com/t/150936/java-Architect-SCEA/certification/IMPORTANT-Position-real-assignment-Part) I have closed this topic as I believe it is outside the rules listed.

    Regards, Andrew


    The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: Part2: Managing state for both web and GUI client