bor

Greenhorn
+ Follow
since Dec 26, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by bor

Dear Rudi,
The problem is from the chosen language of your rational rose/xde setting.
Dear Rudi,
I think that you already know j2ee, design pattern and UML.
Think about these:
To use a standalone app as ejb-client, will you use a controller on you web tier?
To use a web-app as ejb-client, will you use a controller for its web-client?
You have to consider the practicability of using a standalone app or web-app as ejb-client by your project situation.
- location of the standalone application
- firewall
- capability of client
- client-container
- security and scalability
Sincerely,
Hayes Sprint
Dear James,
Try to think the following points:
1. the benefit of service locator
2. the applicability of service locator
3. the relationship between service locator and session facade
4. the type and functionality of SignOnEJB and ShoppingClientFacadeLocalEJB
Sincerely,
Hayes Sprint
Dear karnam,
Please try to think about Bean-Managed Transaction, BMP and Entity bean. It will help you to know why and how to resolve the problem.
20 years ago
Question 1: Is the web tier essential for this defense project?
Ans: No.
Question 2: What is the proper J2EE architect for this project?
Q: Architect or Architecture?
Question 3: How to deal with the data problem? Especially it looks that entity beans are not applicable.
A: Session Bean
Question 4: How does the system handle very heavy load? It is possible that tens of thousands of people will use the system at the same time.
A: Yes, it is possible if database support multiple user accessing.
Hi, RAEES
How do you treat them in your business scope?
Sincerely,
Hi, Raees
Give you a direction. Please think about "how do you deal with the huge static data in your system?" Then think about "how to generate the data there."
Hope helpful.
Sincerely,
Dear Pitkar,
A servlet that implements SingleThreadModel only guarantees that only one thread in this servlet's instantce at a time will execute.
Any outside object that is referenced by this servlet instance is not thread-safe. It may be accessible at any time to those servlets instances.
Hi Rishi,
The inlucde directive will resolve the path during the transition time. That's the reason why it gets error even using the right attribute name "file" in include directive element.
Hi, Sudd,
Your code is correct. The reason that you see by that view is that <% ... %> will be interpret to be some script in browser. Please view the generated source from your browser. You can save it to mydate.html to understand it more clearly.

Originally posted by Sudd Ghosh:
Hi -
I am trying some escape sequences from the Manning book, chapter 12, section 12.1.4.
My JSP code mydate.jsp (the part inside the html body) is :
The opening tag of a scriptlet is <\%
The closing tag of a scriptlet is %>
<BR>
<%= "The opening tag of a scriptlet is <%" %>
<%= "The closing tag of a scriptlet is %\>" %>
The relevant portion of the generated servlet mydate_jsp.java from the "tomcat/work.." directory is :
out.write("<BR>\r\n-->\r\nThe opening tag of a scriptlet is ");
out.write("<%\r\nThe closing tag of a scriptlet is %>\r\n");
out.write("<BR>\r\n");
out.print( "The opening tag of a scriptlet is <%" );
out.write("\r\n");
out.print( "The closing tag of a scriptlet is %>" );
out.write("\r\n");
AND the output on running http://localhost:8080/myExamples/jsp/mydate.jsp
is :
The opening tag of a scriptlet is
The opening tag of a scriptlet is
(which is not correct).
I don't know where I'm going wrong with this, but somehow I'm not able to use the backslash escape properly. I have coded it exactly as per the aforementioned section of the Manning book.
Thanks, Sudd

Originally posted by Sudd Ghosh:
Hi -
I am trying some escape sequences from the Manning book, chapter 12, section 12.1.4.
My JSP code mydate.jsp (the part inside the html body) is :
The opening tag of a scriptlet is <\%
The closing tag of a scriptlet is %>
<BR>
<%= "The opening tag of a scriptlet is <%" %>
<%= "The closing tag of a scriptlet is %\>" %>
The relevant portion of the generated servlet mydate_jsp.java from the "tomcat/work.." directory is :
out.write("<BR>\r\n-->\r\nThe opening tag of a scriptlet is ");
out.write("<%\r\nThe closing tag of a scriptlet is %>\r\n");
out.write("<BR>\r\n");
out.print( "The opening tag of a scriptlet is <%" );
out.write("\r\n");
out.print( "The closing tag of a scriptlet is %>" );
out.write("\r\n");
AND the output on running http://localhost:8080/myExamples/jsp/mydate.jsp
is :
The opening tag of a scriptlet is
The opening tag of a scriptlet is
(which is not correct).
I don't know where I'm going wrong with this, but somehow I'm not able to use the backslash escape properly. I have coded it exactly as per the aforementioned section of the Manning book.
Thanks, Sudd