tailieunhanh - XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P6
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P6: Là một nhà phát triển Web, bạn biết những thách thức trong việc xây dựng các ứng dụng mạnh mẽ trên nhiều nền tảng. Tạo các ứng dụng di động trở nên thật sự có thể bằng cách sử dụng Java cho code và XML để tổ chức và quản lý dữ liệu. "XML, XSLT, Java, và JSP: Một trường hợp học" sẽ giúp bạn tối đa hóa khả năng của XML, XSLT, Java, và JSP trong các ứng dụng web của bạn | 232 Chapter 8 Java Servlet and Java Bean BonForumEngine and BonForumStore Table JSP Transitions vs. Actor-Chat Relationships visitor starts chat Chat Exists Already Actor Is Not Actor Is in Chat Host guest host executes chat 1 executes chat 1 Chat DoesNot Exist Actor Is Guest guest host executes executes chat 1 2 chat visitor joins chat guest executes chat host executes chat 3 guest executes chat forum error Here are some notes for this table Numbered table items are optional to be set by user preferences in a command with alternatives as follows 1. visitor starts chat 2. host executes chat if multihosted chat allowed 3. guest executes chat If the actor is a host or a guest the actor is rejoining the chat. Rejoining Existing Chats As you can see if a chat with the requested subject and topic combination does not exist the visitor will become the host of a new chat for that combination. If the requested chat exists already then what happens depends upon an option setting. One option is that the user will be taken back to visitor starts chat to try again with a different subject topic or both. Actually in the release of bonForum for this book this and other options listed in the notes are not yet available As seen in the table cells for the visitor starts chat row the outcome when a requested chat already exists can be made to depend upon whether the visitor is already a host or a guest in that chat. If not the visitor becomes a new guest in the chat. If the visitor already a member of the chat the visitor rejoins as a host or a guest whichever was the case before. Again in the book release of bonForum the options within the table cells are the only options In a later release of bonForum we will implement user preference settings using session attributes. Choices can be offered for the behavior of visitor starts chat when the requested chat already exists as follows 1. Always warn the user and request a new subject or new topic. 2. If the actor was in the chat .
đang nạp các trang xem trước