锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产一区二区观看,国产精品久久一区二区三区不卡,国产在线欧美http://www.aygfsteel.com/SunRiver/category/15628.htmlTopics about Java SE, Servlet/JSP, JDBC, MultiThread, UML, Design Pattern, CSS, JavaScript, Maven, JBoss, Tomcat, ...zh-cnMon, 25 Oct 2010 10:25:07 GMTMon, 25 Oct 2010 10:25:07 GMT60Java Faqs 2http://www.aygfsteel.com/SunRiver/archive/2010/10/25/336111.htmlSun RiverSun RiverMon, 25 Oct 2010 09:08:00 GMThttp://www.aygfsteel.com/SunRiver/archive/2010/10/25/336111.html

Question How do you delete a Cookie within a JSP? (JSP)

Answer

Cookie mycook = new Cookie("name","value");

response.addCookie(mycook);

Cookie killmycook = new Cookie("mycook","value");

killmycook.setMaxAge(0);

killmycook.setPath("/");

killmycook.addCookie(killmycook);

Question How many types of protocol implementations does RMI have? (RMI)

Answer RMI has at least three protocol implementations: Java

Remote Method Protocol(JRMP), Internet Inter ORB Protocol(IIOP),

and Jini Extensible Remote Invocation(JERI). These are alternatives,

not part of the same thing, All three are indeed layer 6 protocols for

those who are still speaking OSI reference model.

Question What are the different identifier states of a Thread?

(Core Java)

Answer The different identifiers of a Thread are:

R - Running or runnable thread

S - Suspended thread

CW - Thread waiting on a condition variable

MW - Thread waiting on a monitor lock

MS - Thread suspended waiting on a monitor lock


Question What is the fastest type of JDBC driver? (JDBC)

Answer JDBC driver performance will depend on a number of

issues:

(a) the quality of the driver code,

(b) the size of the driver code,

(c) the database server and its load,

(d) network topology,

(e) the number of times your request is translated to a different API.

In general, all things being equal, you can assume that the more your

request and response change hands, the slower it will be. This

means that Type 1 and Type 3 drivers will be slower than Type 2

drivers (the database calls are make at least three translations versus

two), and Type 4 drivers are the fastest (only one translation).

Question Request parameter How to find whether a parameter

exists in the request object? (Servlets)

Answer 1.boolean hasFoo = !(request.getParameter("foo") ==

null || request.getParameter("foo").equals(""));

2. boolean hasParameter =

request.getParameterMap().contains(theParameter);

(which works in Servlet 2.3+)


Question How can I send user authentication information while

makingURLConnection? (Servlets)

Answer You’ll want to use

HttpURLConnection.setRequestProperty and set all the appropriate

headers to HTTP authorization.

Question How do I convert a numeric IP address like 192.18.97.39

into a hostname like java.sun.com? (Networking)

Answer

Question How many methods do u implement if implement the

Serializable Interface? (Core Java)

Answer The Serializable interface is just a "marker" interface,

with no methods of its own to implement. Other ’marker’ interfaces

are

java.rmi.Remote

java.util.EventListener

String hostname =InetAddress.getByName("192.18.97.39").getHostName();



Sun River 2010-10-25 17:08 鍙戣〃璇勮
]]>
Java Faqs 1http://www.aygfsteel.com/SunRiver/archive/2010/10/25/336099.htmlSun RiverSun RiverMon, 25 Oct 2010 08:07:00 GMThttp://www.aygfsteel.com/SunRiver/archive/2010/10/25/336099.html

Question What is the query used to display all tables names in

SQL Server (Query analyzer)? (JDBC)

Answer select * from information_schema.tables

Question What is Externalizable? (Core Java)

Answer Externalizable is an Interface that extends Serializable

Interface. And sends data into Streams in Compressed Format. It has

two methods, writeExternal(ObjectOuput out) and

readExternal(ObjectInput in).

Question What modifiers are allowed for methods in an Interface?

Answer Only public and abstract modifiers are allowed for

methods in interfaces.

Question How many types of JDBC Drivers are present and what

are they? (JDBC)

Answer There are 4 types of JDBC Drivers

Type 1: JDBC-ODBC Bridge Driver

Type 2: Native API Partly Java Driver

Type 3: Network protocol Driver

Type 4: JDBC Net pure Java Driver

Question What is the difference between ServletContext and

PageContext? (JSP)

Answer ServletContext: Gives the information about the container

PageContext: Gives the information about the Request.

Question How to pass information from JSP to included JSP?

Answer Using <%jsp:param> tag.



Sun River 2010-10-25 16:07 鍙戣〃璇勮
]]>
FAQshttp://www.aygfsteel.com/SunRiver/archive/2006/09/24/71614.htmlSun RiverSun RiverSun, 24 Sep 2006 15:14:00 GMThttp://www.aygfsteel.com/SunRiver/archive/2006/09/24/71614.htmlFrom聽Manager:
聽聽聽1. Describe for us your current position. what are you major responsibility in this position?
聽聽聽2. Describe to us what you understand this position to聽be/
聽聽 3. Why does this position interest you? What are your expectations?
聽聽 4. What past experience do you have that you feel qualified you for this position?
About Experience:
聽聽 5. Tell us about you past experience with (probe for breadth & depth of involvement in projects/complexity of workload --how was success measured? what kinds o results were achieved? )
聽聽 6. We have all had occasion when we were working on something and overlooked a small detail. Give me an example of when this happened to you. what causeed it to happen? what was the result?
Relationship Building:
聽聽 7. Tell me about a time when you had to work with a business partner who you had not worked with before. how did you approach initiating and developing this relationship so that you could achieve your project or organization goals?
聽聽 8. This position requires the ability to juggle many tasks at once. how have you gone about meeting all of your deadlines on line/ what have you done when faced with missing a deadline(How do you organize your time)?
Closing
聽聽
9. What drives/moitivates you?
聽聽10. What are your business goal?
聽 11. What do you see as your initial challenges if you were offered this position? what are your developmental gaps in relation to this position?
聽聽12. Do you have any questions?


Sun River 2006-09-24 23:14 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 富宁县| 安丘市| 长汀县| 景洪市| 古丈县| 壤塘县| 沙田区| 乌拉特前旗| 宁波市| 苍梧县| 织金县| 白河县| 咸阳市| 白山市| 齐河县| 扶余县| 金平| 邵武市| 府谷县| 鄢陵县| 横峰县| 吉林市| 清水县| 宁都县| 延寿县| 调兵山市| 育儿| 石狮市| 湟中县| 柳林县| 日喀则市| 泽州县| 六安市| 眉山市| 亚东县| 额敏县| 神木县| 从江县| 中江县| 登封市| 崇文区|