锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品久久久一区麻豆最新章节 ,成年网站在线视频网站,av剧情在线观看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 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 宁蒗| 三穗县| 铁岭市| 清远市| 大理市| 洪江市| 呼伦贝尔市| 大名县| 嘉黎县| 江阴市| 青神县| 虎林市| 伊宁县| 安阳市| 漾濞| 库车县| 崇阳县| 永昌县| 巴林右旗| 高要市| 钟山县| 邮箱| 长治县| 霍山县| 明水县| 奈曼旗| 牙克石市| 尖扎县| 宁南县| 枣庄市| 阿鲁科尔沁旗| 谢通门县| 巴南区| 和顺县| 盐亭县| 巴彦县| 腾冲县| 瑞昌市| 黄平县| 额敏县| 安塞县|