Size: px
Start display at page:

Download ""

Transcription

1

2

3 /idoapp/helloworld server-ido

4 request

5 HTML

6 ttp://localhost:8080 /idoapp/helloworld ):8080 /idoapp/helloworld

7 import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloWorld extends HttpServlet{ public void doget(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException{ PrintWriter out=response.getwriter(); out.println("hello, World!"); } }

8 import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.arraylist; ArrayList

9 public class HelloWorld extends HttpServlet{ : }

10 public void doget(...) throws ServletException, IOException{ : }

11 public void doget(httpservletrequest request, HttpServletResponse response) }

12 HelloWorld implement HttpServlet init(config) doget(request, response)

13 PrintWriter out=response.getwriter(); out.println("hello, World!"); HelloWorld doget(..., HttpServletResponse response) out Hello,World!

14 html> head> title>hello</title> /head> body> ello, world. /body> /html> HelloWorld out.println("<html> n ); out.println("<head> n ); out.println("<title> ); out.println( hello ); out.println( </title> n ); out.println("</head> n ); out.println("<body> n ); out.println("hello, world. n ); out.println("</body> n ); out.println("</html> n );

15 web.xml /idoapp/helloworld HelloWorld

16 xml version="1.0" encoding="iso "?> DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN " eb-app> <servlet> <servlet-name>helloworldservlet</servlet-name> <servlet-class>helloworld</servlet-class> </servlet> <servlet-mapping> <servlet-name>helloworldservlet</servlet-name> <url-pattern>/helloworld</url-pattern> </servlet-mapping> web-app>

17 <?xml version="1.0" encoding="iso "?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" " <web-app> <!-- --> </web-app> <webapp> </web-app>

18 <web-app> </web-app> <xxx> </xxx> web-app servlet servlet -name servlet -class servlet -mapping servlet -name url -pattern

19 <web-app> <servlet> </servlet> <servlet-mapping> </servlet-mapping> <web-app> <servlet> <! (3.5) --> </servlet> <servlet-mapping> <! (3.6) --> </servlet-mapping> </web-app>

20 <servlet> <servlet-name>helloworldservlet</servlet-name> <servlet-class>helloworld</servlet-class> </servlet> myweb WEB-INF classes HelloWorld.clas % cd classes % javac HelloWorld.java % java HelloWorld

21 ttp://localhost:8080 /idoapp//helloworld inquery <servlet-mapping> <servlet-name>helloworldservlet</servlet-name> <url-pattern>/helloworld</url-pattern> </servlet-mapping> /helloword

22 + web.xml ( ) Tomcat Windows : Program Files Apache Group Tomcat 4.1 conf server.xml Linux)/usr/local/jakarta-tomcat /conf/server.xml <Context path= idoapp docbase="c: Documents and Settings JAVA01 My Documents workspace servletproject myweb />

23 % cd tomcat/web-inf/classes % javac HelloWorld.java xport CATALINA_HOME=/var/tomcat4 LASSPATH=$CATALINA_HOME/common/lib/servlet.jar:$CLASSPATH

24 import javax.servlet.*; import javax.servlet.http.*; common servlet.jar var tomcat4 lib

25

26

27 ( /idoapp/examples /login.jsp server-ido ( /idoapp/welcome

28 HTML

29 ttp://localhost:8080 /idoapp/...

30

31

32

33

34

35 package examples; import java.io.ioexception; throws ServletException { } protected void doget( import javax.servlet.servletconfig; import javax.servlet.servletexception; import javax.servlet.http.httpservlet; import javax.servlet.http.httpservletrequest; import javax.servlet.http.httpservletresponse; public class Welcome extends HttpServlet { public void init(servletconfig config) } } //TODO Method stub generated by Lomboz HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { //TODO Method stub generated by Lomboz

36 <web-app> <servlet> <servlet-name>welcomeservlet</servlet-name> <servlet-class>examples.welcome</servlet-class> <init-param> <param-name>site-passwd</param-name> <param-value>aaaaaaaa</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>welcomeservlet</servlet-name> <url-pattern>/welcome</url-pattern> </servlet-mapping> </web-app>

37

38

39 page contenttype="text/html;charset=utf-8" %> <html> <head><title>login Page</title></head> <body bgcolor="white"> <h2 style="color:white;background-color:#0086b2;"> Login Page</h2> <% String error = (String)request.getAttribute("error"); if(error!=null){ %> <%= error %> <% }%> <form action="/idoapp/welcome"> name:<input type="text" name="username" size="15" /><br> password<input type="password" name="passwd" size="15" /><br> <input type="submit" value=" "><br> </form> </body> </html>

40 package examples; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class Welcome extends HttpServlet { private String sitepasswd; public void init(servletconfig config) throws ServletException { super.init(config); sitepasswd = this.getinitparameter("site-passwd"); } public void doget(httpservletrequest request, HttpServletResponse response) throws IOException, ServletException { // } }

41 request.setcharacterencoding("utf-8"); String strname = request.getparameter("username"); String strpasswd = request.getparameter("passwd"); if(!strpasswd.equals(sitepasswd)){ request.setattribute ("error","sorry,password is incorrect."); RequestDispatcher dispatcher = getservletcontext().getrequestdispatcher ("/examples/login.jsp"); dispatcher.forward(request, response); return; } if(strname==null){ strname = "a Mr. or Ms. Unknown"; } request.setattribute("name",strname); RequestDispatcher dispatcher = getservletcontext().getrequestdispatcher ("/examples/welcome.jsp"); dispatcher.forward(request, response);

42 private String sitepasswd; public void init() { sitepasswd = this.getinitparameter("site-passwd"); } init(..) doget(..) doget(..) doget(..)

43 init() sitepasswd = this.getinitparameter("site-passwd") private String sitepasswd; doget(..) doget(..)

44 7.4 sitepasswd request error Sorry,password is incorrect. (JSP) a Mr. Unknown request name (welcome) (JSP)

45 doget(httpservletrequest request,...)

46 input type="text" name="username" /> input type="password name="passwd" /> strname ido strpasswd abcd String strname = request.getparameter("username"); String strpasswd = request.getparameter("passwd");

47 request.setcharacterencoding("utf-8"); strname setcharacterstrpasswd abcd Encoding ( UTF-8 )

48 doget(...) <html> <head>hello</head> <body>hello.</body> </html>

49 showmenu.jsp RequestDispatcher dispatcher = getservletcontext().getrequestdispatcher ("/examples/welcome.jsp"); dispatcher.forward(request, response); welcome.jsp

50 doget(...){ JSP <% %>

51 welcome.jsp request. setattribute ("name",strname); <% String uname = (String)request. getattribute("name"); %> <h1><%= uname %>, welcome to our pages.</h1>

52 sitepasswd request error Sorry,password is incorrect. (JSP) 1. if(!strpasswd.equals(sitepasswd)){ 2. request.setattribute 3. ("error","sorry,password is incorrect."); 4. RequestDispatcher dispatcher = 5. getservletcontext().getrequestdispatcher 6. ("/examples/login.jsp"); 7. dispatcher.forward(request, response); 8. return; 9. }

53 . <% String error = (String)request.getAttribute("error"). if(error!=null){ %>. <%= error %>. <% }%>

54 page contenttype="text/html;charset=iso-2022-jp" %> <html> <head> <title>welcome Page</title> </head> <body bgcolor="white"> <h2 style="color:white;background-color:#0086b2;"> Welcome</h2> <% String uname = (String)request.getAttribute("name"); %> <h1><%= uname %>,welcome to our pages.</h1> </body> </html:html>

55 Web

56 <logic:iterate id="inquery" % InqueryList inquerylist = (InqueryList)request.getAttribute("inqueryList"); ArrayList ar = (ArrayList)inqueryList.getInqList(); Iterator itr = ar.iterator(); while(itr.hasnext()){ InqueryWithResponses inquery = (InqueryWithResponses)itr.next(); > % } %> name="inquerylist" property="inqlist"> </logic:iterate>

57 <web-app> <servlet> <servlet-name>welcomeservlet</servlet-name> <servlet-class>examples.welcome</servlet-class> <init-param> <param-name>site-passwd</param-name> <param-value>aaaaaaaa</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>welcomeservlet</servlet-name> <url-pattern>/welcome</url-pattern> </servlet-mapping> </web-app>

58 <servlet> <servlet-name>welcomeservlet</servlet-name> <servlet-class>examples.welcome</servlet-class> </servlet> y tomcat WEB-INF classes examples Welcome.class % cd classes % javac examples/welcome.java % java examples.welcome

59

60 sitepasswd = this.getinitparameter("site-passwd"); web.xml <init-param> <param-name>site-passwd</param-name> <param-value>aaaaaaaa</param-value> </init-param> mypassword init-param param-name param-value paramvalue getinit Parameter paramname

61 1 2 3 <servlet> : <load-on-startup> 1 </load-on-startup> : </servlet> <servlet> : <load-on-startup> 2 </load-on-startup> : </servlet> <servlet> : <load-on-startup> 5 </load-on-startup> : </servlet>

62 page language="java" pageencoding="euc-jp" %> taglib uri="/tags/struts-bean" prefix="bean" %> <!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <title>lomboz JSP</title> </head> <body bgcolor="#ffffff"> <h2 style="color:white;background-color:#0086b2;"> Welcome</h2> <h1><bean:write name="loginform" property="name" />,welcome to our pages.</h1> </body> </html> package welcome; import javax.servlet.http.*; import org.apache.struts.action.*; public class WelcomeAction extends Action { private static final String sitepasswd = "aaaaaaa"; public ActionForward execute(actionmapping map, ActionForm form, HttpServletRequest request, HttpServletResponse response){ LoginForm loginform = (LoginForm)form; if(loginform.getname()==null){ loginform.setname("a Mr. or Ms. Unknown"); } request.setattribute("loginform",loginform); return map.findforward("success"); } }

63

64 ackage examples; mport java.io.serializable; ublic class DataBeans implements Serializable { private int count; public void setcount(int count) { this.data = count; } public int getcount() { return count; }

65

66 ackage examples; mport java.io.ioexception; mport javax.servlet.servletexception; mport javax.servlet.http.*; ublic class Welcome extends HttpServlet { protected void doget( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { DataBeans databeans = new DataBeans(); databeans.setdata(5); request.setattribute( inda",databeans); etservletcontext().getrequestdispatcher("/examp es/welcome.jsp").forward(request,response); }

67 page language="java" pageencoding= UTF-8" %> <!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <title>lomboz JSP</title> </head> <body bgcolor="#ffffff"> <jsp:usebean id= inda class="examples.databeans scope="request" /> <p>java Beans <jsp:getproperty name = inda" property= count" /> </p> </body> </html>

68 jsp: usebean /> DataBean databea =new DataBean() jsp: etproperty /> setattribute

69

70 ackage examples; mport java.io.serializable; ublic class NameBean implements Serializable{ private String name; public String getname() { return name; } public void setname(string name) { this.name = name; }

71 package examples; () public class Welcome extends HttpServlet { public void doget(httpservletrequest request, HttpServletResponse response) throws IOException, ServletException { NameBean namebean = new NameBean(); namebean.setname(strname); request.setattribute("indnamebean",namebean); RequestDispatcher dispatcher = getservletcontext().getrequestdispatcher ("/examples/welcome.jsp"); dispatcher.forward(request, response); } }

72 page language="java" pageencoding="utf-8" %> <!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <title>welcome Page</title> </head> <body bgcolor="white"> <jsp:usebean id="indnamebean" class="examples.namebean" scope="request" /> <h2 style="color:white;background-color:#0086b2;"> Welcome</h2> <% String uname = (String)request.getAttribute("name"); %> <h1><%= uname %>,welcome to our pages.</h1> <p>java Beans <jsp:getproperty name ="indnamebean" </body> </html> property="name" /> </p>

73

B2-Servlet-0112.PDF

B2-Servlet-0112.PDF B-2 Servlet/JSP Agenda J2EE Oracle8i J2EE Java Servlet JavaServer Pages PDA ( J2EE Java2 Enterprise Edition API API J2SE JSP Servlets RMI/IIOP EJB JNDI JTA JDBC JMS JavaMail JAF Java2 Standard Edition

More information

Servlet/JSP ( 作成中 ) 2010 年 x 月 x 日作成 Firebird 日本ユーザー会 Naoyuki Sano 1

Servlet/JSP ( 作成中 ) 2010 年 x 月 x 日作成 Firebird 日本ユーザー会 Naoyuki Sano     1 Servlet/JSP ( 作成中 ) 2010 年 x 月 x 日作成 Firebird 日本ユーザー会 Naoyuki Sano http://rururu.sakura.ne.jp/ http://rururublog.sblo.jp/ 1 Servlet/JSP を教わった人 2004/9/25-2005/5/21 秦崇 [ はたたかし ] さん (http:// 秦崇.jp/) 2009

More information

HTML Java Tips dp8t-asm/java/tips/ Apache Tomcat Java if else f

HTML Java Tips   dp8t-asm/java/tips/ Apache Tomcat Java if else f 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway InterfaceWeb HTML Web Web CGI CGI CGI Perl C Java Applet JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI 1 Java / Java Java CGI Servlet

More information

HTML Java Tips dp8t-asm/java/tips/ Apache Tomcat Java if else f

HTML Java Tips   dp8t-asm/java/tips/ Apache Tomcat Java if else f 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway InterfaceWeb HTML Web Web CGI CGI CGI Perl C Java Applet JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI 1 Java / Java Java CGI Servlet

More information

9iAS_DEV.PDF

9iAS_DEV.PDF Oracle9i Application Server for Windows NT 1.0.2.0.0 2001.2.1 1 1 PL/SQL...3 1.1...3 1.2 PL/SQL Web Toolkit...5 1.3 Database Access Descriptor...6 1.4 PL/SQL...8 1.5 PL/SQL...10 1.6 PL/SQL...12 2 SERVLET...13

More information

メディプロ1 Javaサーブレット補足資料.ppt

メディプロ1 Javaサーブレット補足資料.ppt メディアプロジェクト演習 1 Java サーブレット補足資料 CGI の基本 CGI と Java サーブレットの違い Java サーブレットの基本 インタラクティブな Web サイトとは Interactive q 対話 または 双方向 q クライアントとシステムが画面を通して対話を行う形式で操作を行っていく仕組み 利用用途 Web サイト, シミュレーションシステム, ゲームなど WWW = インタラクティブなメディア

More information

Part1 159 a a

Part1 159 a a Tomcat 158 Part1 159 a a Tomcat hello World!

More information

WebOTXマニュアル

WebOTXマニュアル WebOTX アプリケーション開発ガイド WebOTX アプリケーション開発ガイドバージョン : 7.1 版数 : 第 2 版リリース : 2010 年 1 月 Copyright (C) 1998-2010 NEC Corporation. All rights reserved. 4-1-1 目次 4. J2EE WebOTX...3 4.1. Webアプリケーション...3 4.1.1. Webアプリケーションを作成する...3

More information

Web JavaScript Java Applet Flash ActionScript CGI (C, perl, ruby ) PHP Servlet, JSP (JavaServer Pages) ASP 7-2

Web JavaScript Java Applet Flash ActionScript CGI (C, perl, ruby ) PHP Servlet, JSP (JavaServer Pages) ASP 7-2 Servlet 7-1 Web JavaScript Java Applet Flash ActionScript CGI (C, perl, ruby ) PHP Servlet, JSP (JavaServer Pages) ASP 7-2 Servlet Java CGI Tomcat Apache+Tomcat JSP Web HTML Java Java Servlet ( ) 7-3 Servlet

More information

II 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C JavaScript Web CGI HTML 1.2 Servlet Java

II 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C JavaScript Web CGI HTML 1.2 Servlet Java II 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI Java Java JVM Java CGI

More information

Web 1 p.2 1 Servlet Servlet Web Web Web Apache Web Servlet JSP Web Apache Tomcat Jetty Apache Tomcat, Jetty Java JDK, Eclipse

Web 1 p.2 1 Servlet Servlet Web Web Web Apache Web Servlet JSP Web Apache Tomcat Jetty Apache Tomcat, Jetty Java JDK, Eclipse Web 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C Java Applet JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI 1 Java Java

More information

... 1... 2... 2... 2... 4... 4... 5 HTML/JSP/Servlet... 7 JSP... 7 Servlet... 11 Struts... 15 Struts... 15 Struts... 16... 17... 25 FormBean LoginForm

... 1... 2... 2... 2... 4... 4... 5 HTML/JSP/Servlet... 7 JSP... 7 Servlet... 11 Struts... 15 Struts... 15 Struts... 16... 17... 25 FormBean LoginForm Oracle JDeveloper 10g Struts Creation Date: May 28, 2004 Last Update: Aug 19, 2004 Version 1.0.1 ... 1... 2... 2... 2... 4... 4... 5 HTML/JSP/Servlet... 7 JSP... 7 Servlet... 11 Struts... 15 Struts...

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション 1 2 3 /usr/local javalib xerces-2_6_2 xalan-2_6_0 4 XERCES_HOME=/usr/local/javalib/xerces-2_6_2 CLASSPATH=$XERCES_HOME/xmlParserAPIs.jar:$CLASSPATH CLASSPATH=$XERCES_HOME/xercesImpl.jar:$CLASSPATH CLASSPATH=$XERCES_HOME/xercesSamples.jar:$CLASSPATH

More information

スライド 1

スライド 1 Web プログラミング 2 7. JSP と Servlet による Web プログラミング概要 ( 復習 )Web アプリケーションの実現方式 : 授業で扱う範囲 SSI (Server Side Include) C-Shellなど JSP (Java Server Pages) PHP など Web ブラウザ Internet Done Web サーバ Done JavaApplet JavaScript

More information

Gartner Day

Gartner Day J2EE 1 J2EE C AP 2 J2EE AP DD java *.class java *.class java *.class *.class DD EAR, WAR, JAR orionapplicationclient.xmweb.xmapplication.jar.xml orion- orion-ejb- ml Oracle Application Server 10g *.jsp

More information

II 2 p.2 2 GET POST form action URL Aisatsu 2.1 Servlet GET GET : Query String QueryStringTest.java 1 import java.io.ioexception; 2 import java.io.pri

II 2 p.2 2 GET POST form action URL Aisatsu 2.1 Servlet GET GET : Query String QueryStringTest.java 1 import java.io.ioexception; 2 import java.io.pri II 2 p.1 2 GET POST Servlet Servlet Servlet CGI/Servlet GET POST 2 GET URL? FORM GET : http://maps.google.co.jp/maps?hl=ja&ll=34.292821,134.063587&z=15 POST HTML HTML : Aisatsu.html HTML 1

More information

Microsoft PowerPoint - Lecture_2

Microsoft PowerPoint - Lecture_2 プログラミング Java III 第 2 回 :WebForm および サーブレット入門 Ivan Tanev 講義の構造 1. ダイナミックWebコンテンツとサーブレット 2.Webフォーム 3. 演習 2 1. ダイナミック Web コンテンツとサーブレット 3 1. ダイナミック Web コンテンツとサーブレット Internet Response: HTML テキスト ユーザー 4 1. ダイナミック

More information

Microsoft PowerPoint - Lecture_3

Microsoft PowerPoint - Lecture_3 プログラミング III 第 3 回 : サーブレットリクエスト & サーブレットレスポンス処理入門 Ivan Tanev 講義の構造 1. サーブレットの構造 2. サーブレットリクエスト サーブレットレスポンスとは 3. 演習 2 Lecture2_Form.htm 第 2 回のまとめ Web サーバ Web 1 フォーム static 2 Internet サーブレ4 HTML 5 ットテキスト

More information

PowerPoint Presentation

PowerPoint Presentation プログラミング Java III 第 4 回 : サーブレットの HTTP Request の処理 Ivan Tanev 講義の構造 1. サーブレットの HTTP Request の処理 2. 演習 2 第 3 回のまとめ Internet Explorer のアドレス バー : http://isd-si.doshisha.ac.jp/teaching/programming_3/xxxxxxxx/lecture3_form1.html

More information

Web Tomcat MapDataManager i

Web Tomcat MapDataManager i Tomcat EWEB-4K-N013 Web Tomcat MapDataManager i 1... 1 2 Tomcat4.1.29... 2 2.1 Tomcat... 2 2.2 Apache1.3.29... 3 2.3 IIS5.0... 7 3 FAQ...10 3.1 ISAPI...10 ii 1 Java JDK1.3.1 J2SDK1.4.0 JDK JSDK 1-1 JDK

More information

Oracle9iAS Containers for J2EEチュートリアル

Oracle9iAS Containers for J2EEチュートリアル Oracle9iAS Containers for J2EE Servlet/JSP ...3...3 OC4J...4 OC4J...4...5 OC4J...6 OC4J...6 OC4J...7 Servlet/JSP...8 Servlet...8 Servlet...8 JSP...8 Servlet/JSP...10 Web...10 Servlet/JSP...11 Servlet/JSP...12

More information

PowerPoint Presentation

PowerPoint Presentation 上級プログラミング 2( 第 7 回 ) 工学部情報工学科 木村昌臣 今日のテーマ Web アプリケーションとは Web アプリケーションとはなにか Web アプリケーションの仕組み 三層アプリケーション サーブレット JSP JavaBeans MVC モデル Web アプリケーションの環境構築 Web サーバー (Apache) Web アプリケーションサーバー (Tomcat) Web アプリケーションとは

More information

1 1 3 1.1 Web............................ 3 1.2 Servlet/JSP.................................. 3 2 JSP 7 2.1................................... 7 2.2..

1 1 3 1.1 Web............................ 3 1.2 Servlet/JSP.................................. 3 2 JSP 7 2.1................................... 7 2.2.. Servlet/JSP 1 1 3 1.1 Web............................ 3 1.2 Servlet/JSP.................................. 3 2 JSP 7 2.1................................... 7 2.2........................................

More information

... 2 1 Servlet... 3 1.1... 3 1.2... 4 2 JSP... 6 2.1... 6 JSP... 6... 8 2.2... 9 - Servlet/JSP における 日 本 語 の 処 理 - 1

... 2 1 Servlet... 3 1.1... 3 1.2... 4 2 JSP... 6 2.1... 6 JSP... 6... 8 2.2... 9 - Servlet/JSP における 日 本 語 の 処 理 - 1 Servlet/JSP Creation Date: Oct 18, 2000 Last Update: Mar 29, 2001 Version: 1.1 ... 2 1 Servlet... 3 1.1... 3 1.2... 4 2 JSP... 6 2.1... 6 JSP... 6... 8 2.2... 9 - Servlet/JSP における 日 本 語 の 処 理 - 1 Servlet

More information

第13回講義

第13回講義 オブジェクト指向概論 第 13 講 実装とサーバサイド Java 立命館大学 情報理工学部 黄宏軒 1 13.1 Java による実装 n フォワードエンジニアリング UML による表現をプログラミング言語による記述に変換 n リバースエンジニアリング UML User -name:string +getname():string プログラミング言語の情報を UML モデルに変換 UML User

More information

WebOTXマニュアル

WebOTXマニュアル WebOTX アプリケーション開発ガイド WebOTX アプリケーション開発ガイドバージョン : 8.1 版数 : 第 3 版リリース : 2009 年 4 月 Copyright (C) 1998-2009 NEC Corporation. All rights reserved. 2-2-1 目次 2. Java EE...3 2.2. Webアプリケーション...3 2.2.1. Webアプリケーションを作成する...3

More information

WebOTXマニュアル

WebOTXマニュアル WebOTX アプリケーション開発ガイド WebOTX アプリケーション開発ガイドバージョン : 7.1 版数 : 初版リリース : 2007 年 7 月 Copyright (C) 1998-2007 NEC Corporation. All rights reserved. 3-1-1 目次 3. J2EE WTP...3 3.1. Webアプリケーション...3 3.1.1. Webアプリケーションを作成する...3

More information

untitled

untitled Struts IT Open Source JavaEE Application Consulting Struts Open Source JavaWorld Jakarta 4 Jakarta/Apache Copyright(c) yukimitsu kurozumi 2007 All Rights Reserved. 2 1986 150 CAC OSS Consulting,, Web System

More information

サーブレット (Servlet) とは Web サーバ側で動作する Java プログラム 通常はapache 等のバックグラウンドで動作する Servletコンテナ上にアプリケーションを配置 代表的な Servlet コンテナ Apache Tomcat WebLogic WebSphere Gla

サーブレット (Servlet) とは Web サーバ側で動作する Java プログラム 通常はapache 等のバックグラウンドで動作する Servletコンテナ上にアプリケーションを配置 代表的な Servlet コンテナ Apache Tomcat WebLogic WebSphere Gla サーブレット 1 オブジェクト指向プログラミング特論 サーブレット (Servlet) とは Web サーバ側で動作する Java プログラム 通常はapache 等のバックグラウンドで動作する Servletコンテナ上にアプリケーションを配置 代表的な Servlet コンテナ Apache Tomcat WebLogic WebSphere GlassFish 2 オブジェクト指向プログラミング特論

More information

スライド 1

スライド 1 1 2466 565 40 / All Right Reserved,Copyrights 3 B to B B to C EC ERP EIAJ / / EDI All Right Reserved,Copyrights 4 All Right Reserved,Copyrights 5 1 All Right Reserved,Copyrights 6 EIAJ QR All Right Reserved,Copyrights

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション 1 2 3 4 HTML 5 HTML 6 7 8 9 ( ) 10 11 ( ) Switch(state) case STATE_xxxx : int op_state = opponent.getstate(); switch (op_state) { case STATE_yyyy : < > player.setstate(state_zzzz); 12 13 14 15 16 17 request

More information

"CAS を利用した Single Sign On 環境の構築"

CAS を利用した Single Sign On 環境の構築 CAS Single Sign On (Hisashi NAITO) naito@math.nagoya-u.ac.jp Graduate School of Mathematics, Nagoya University naito@math.nagoya-u.ac.jp, Oct. 19, 2005 Tohoku Univ. p. 1/40 Plan of Talk CAS CAS 2 CAS Single

More information

intra-mart im-JavaEE Framework

intra-mart im-JavaEE Framework intra-mart im-javaee Framework Version 6.1 Struts 連携ガイド 第 2 版 2010 年 7 月 30 日 > 変更年月日変更内容 2007/7/31 初版 2010/7/30 第 2 版 プレゼンテーションフレームワークに関する記述を削除 目次 > 1 はじめに...3 1.1 目的...3 2 アプリケーションの作成...3

More information

intra-mart im-J2EE Framework

intra-mart im-J2EE Framework intra-mart im-j2ee Framework Version 6.0 Struts 連携ガイド 初版 2006 年 8 月 11 日 変更年月日 2006/8/11 初版 > 変更内容 目次 > 1 はじめに...3 1.1 目的...3 2 アプリケーションの作成...3 2.1 前提...3 2.2 Strutsからim-J2EE Frameworkのイベントフレームワークへの連携...3

More information

Javaと マルチスレッド

Javaと マルチスレッド Javaとマルチスレッド 2016/7/30 湯川敦 目次 1. きっかけ 2. マルチスレッド対応が必要になる場面とは? 3. Javaのプロセスとスレッドについて 4. Javaのメモリ構成について 5. スレッドセーフについて 6. スレッド間競合における問題の回避策あれこれ 7. まとめ きっかけ 現場の新人 SE より Web アプリケーションサーバに関して 以下の質問を受けた ConcurrentModificationException

More information

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV tutimura@mist.i.u-tokyo.ac.jp kaneko@ipl.t.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/sem3/ 2002 12 11 p.1/33 10/16 1. 10/23 2. 10/30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20

More information

intra-mart im-J2EE Framework

intra-mart im-J2EE Framework intra-mart im-j2ee Framework Version 5.1 Struts 連携ガイド 初版 2005 年 12 月 27 日 変更年月日 2005/12/28 初版 > 変更内容 目次 > 1 はじめに...3 1.1 目的...3 2 Strutsのインストール...3 2.1 Struts...3 2.1.1 Struts の組込み...3

More information

intra-mart im-J2EE Framework

intra-mart im-J2EE Framework intra-mart im-j2ee Framework Version 5.0 Struts 連携ガイド 第 2 版 2005 年 7 月 8 日 > 変更年月日変更内容 2005/06/02 初版 2005/07/08 第 2 版 以下の節を追加 2 Strutsのインストール 付録 B 変更内容 サンプルの一部を廃止 Struts 1.2.7 対応 目次 >

More information

Microsoft PowerPoint - web_and_dm08_servlet2.pptx

Microsoft PowerPoint - web_and_dm08_servlet2.pptx Webとデータモデリング Java によるサーバサイドプログラミング 北川博之, 森嶋厚行, 天笠俊之 1 Java Server Pages (JSP) の利用 2 Web とデータモデリング 1 サーブレットのコード例 public class HelloWorld extends HttpServlet { public void doget(httpservletrequest request,

More information

Client Client public void sendobject(object message) String String Web Container String RemoteEndpoint String Endpoint throwsioexception, EncodeExcept

Client Client public void sendobject(object message) String String Web Container String RemoteEndpoint String Endpoint throwsioexception, EncodeExcept @OnMessage public void handlecounter(int newvalue) {... @OnMessage public void handleboolean(boolean b) {... public void sendobject(object message) throws IOException, EncodeException Client Client public

More information

java_servlet2_見本

java_servlet2_見本 13 2 JSF Web 1 MVC HTML JSP Velocity Java 14 JSF UI PC GUI JSF Web 2.1 JSF JSF Web FORM FORM 2-1 JSF role, JSF JSF 15 Web JSF JSF Web Macromedia JSF JSF JSF 2.2 / Subscriber package com.mycompany.newsservice.models;

More information

Spring Framework Web Web Web DB AOP DI Java EE 3 Web WebMVC Web Java 4 DB H2 Database Java H2 Database http://www.h2database.com/ Version 1.0 Zip 5 H2 > cd $H2_HOME/bin > java cp h2.jar org.h2.tools.server

More information

Oracle9i JDeveloper R9.0.3 チュートリアル

Oracle9i JDeveloper R9.0.3 チュートリアル Oracle9i JDeveloper 9.0.3 JavaServer Pages Creation Date: Jan. 27, 03 Last Update: Feb. 13, 03 Version: 1.0 ... 2... 2... 2 JDeveloper JSP... 3... 4 JSP... 5 JSP... 6... 7...10 JDeveloper... 12 TLD...

More information

FY01H2_SOHO_iAS

FY01H2_SOHO_iAS Oracle9i Application Server Internet Developer Suite Agenda 9iAS PL/SQL Java2 Cache Portal Internet Developer Suite Designer Developer JDeveloper DEMO Oracle 9iAS Web Cache Oracle HTTP Server mod_jserv

More information

3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println("Hello World");

3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println(Hello World); (Basic Theory of Information Processing) Java (eclipse ) Hello World! eclipse Java 1 3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println("Hello

More information

MySQL のインストール 2

MySQL のインストール   2 サーブレットとデータベースの結合 IS04 システム 組込み 1 MySQL のインストール http://dev.mysql.com/downloads/ 2 個人情報入力後 ダブルクリック 3 4 以前にインストールされているとき 5 パスワードを忘れないように ( 例 )1234 6 runnning 7 Java との接続 C:\Program Files\MySQL\Connector J

More information

K227 Java 2

K227 Java 2 1 K227 Java 2 3 4 5 6 Java 7 class Sample1 { public static void main (String args[]) { System.out.println( Java! ); } } 8 > javac Sample1.java 9 10 > java Sample1 Java 11 12 13 http://java.sun.com/j2se/1.5.0/ja/download.html

More information

Microsoft PowerPoint - oas4081_JServlet.ppt

Microsoft PowerPoint - oas4081_JServlet.ppt Oracle Application Server 4.0.8.1 JServlet 概要 1 Agenda JServlet 概要 セッション管理 スレッドセーフティ 別コンポーネントの実行 DB 連携 日本語データの扱い JWeb から JServlet への移行 2 What s JServlet? (1) カートリッジサーバー M クライアント HTTP リスナーャクライアント ディスパッチャJServlet

More information

8.3..................................... 7 8.4 java.sh......................................... 7 8.5........................... 7 8.6 Eclipse........

8.3..................................... 7 8.4 java.sh......................................... 7 8.5........................... 7 8.6 Eclipse........ Tomcat ContOS 6.5 3 DATAGRAM INC. 26 7 7 Linux(CentOS) Tomcat eclipse tomcat 1 Tomcat/Eclipse 2 1.1.............................................. 2 2 2 2.1...................................... 2 3 OS(Linux)

More information

Java Day Tokyo 2017 ダウンロード資料

Java Day Tokyo 2017 ダウンロード資料 Java EE 8 ハンズオン GlassFish 5 EA 版を用いて Version 1.0 日本オラクル株式会社 Table of Contents 1.0 はじめに... 3 2.0 NetBeans と GlassFish の設定と動作確認... 7 3.0 Servlet 4.0 アプリケーションの作成... 15 4.0 JAX-RS 2.1 Reactive REST クライアント実行...

More information

$ java StoreString abc abc ed abced twice abcedabced clear xyz xyz xyz bingo! abc bingo!abc ^Z mport java.io.*; ublic class StoreString { public static void main(string[] args) throws IOException{ BufferedReader

More information

目次

目次 http://www0.info.kanagawa-u.ac.jp/~kaiya/wa/ dotcampus ショートコード 212834 ウエブアプリケーション JSP その 1 2017/12/21 海谷治彦 1 目次 復習サーバーサイド技術サーバーとの相互作用 JSP と Servlet 違いや共通点 JSP の基礎 JSP における response/request の操作 演習 2 復習

More information

橡9iAS_DEV.PDF

橡9iAS_DEV.PDF 1.0.2.1.0 2001.6.1 Oracle9i Application Server for Windows NT 1 1 PL/SQL...3 1.1...3 1.2 PL/SQL Web Toolkit...5 1.3 Database Access Descriptor...6 1.4 PL/SQL...9 1.5 PL/SQL...11 1.6 PL/SQL...12 1.7 PL/SQL...18

More information

intra-mart WebPlatform/AppFramework

intra-mart WebPlatform/AppFramework intra-mart WebPlatform/AppFramework Ver.7.2 Struts 連携プログラミングガイド 2010/04/01 初版 変更年月日 2010/04/01 初版 > 変更内容 目次 > 1 はじめに...1 1.1 目的...1 2 アプリケーションの作成...2 2.1 Strutsからim-JavaEE Frameworkのイベントフレームワークへの連携...2

More information

サーブレットの活用事例 ある飲食チェーン店の例 条件 全国の店舗や取引先のパソコンに特別なソフトをインストールすることはできない 全国の店舗や取引先に特別な教育をすることはできない 本部側で対応できる仕組み として JAVA サーブレットを採用 1

サーブレットの活用事例 ある飲食チェーン店の例 条件 全国の店舗や取引先のパソコンに特別なソフトをインストールすることはできない 全国の店舗や取引先に特別な教育をすることはできない 本部側で対応できる仕組み として JAVA サーブレットを採用 1 JAVA サーブレット IS04 システム 組込 サーブレットの活用事例 ある飲食チェーン店の例 条件 全国の店舗や取引先のパソコンに特別なソフトをインストールすることはできない 全国の店舗や取引先に特別な教育をすることはできない 本部側で対応できる仕組み として JAVA サーブレットを採用 1 2 ショッピングサイト 1. インターネット利用による市場の変化 今までの死に筋を積み上げれば 口コミ情報

More information

アプレットの作成

アプレットの作成 - 1 - import java.applet.applet; import java.awt.graphics; public class HelloWorld extends Applet { public void init() { resize(150,60) ; public void paint ( Graphics g ) { g.drawstring("hello, world!",

More information

PowerPoint Presentation

PowerPoint Presentation UML 2004 7 9 10 ... OOP UML 10 Copyright 2004 Akira HIRASAWA all rights reserved. 2 1. 2. 3. 4. UML 5. Copyright 2004 Akira HIRASAWA all rights reserved. 3 1..... Copyright 2004 Akira HIRASAWA all rights

More information

Q&A集

Q&A集 & ver.2 EWEB-3C-N080 PreSerV for Web MapDataManager & i 1... 1 1.1... 1 1.2... 2 1.3... 6 1.4 MDM. 7 1.5 ( )... 9 1.6 ( )...12 1.7...14 1.8...15 1.9...16 1.10...17 1.11...18 1.12 19 1.13...20 1.14...21

More information

Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN Exam's Question and Answers 1 from Ac

Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN Exam's Question and Answers 1 from Ac Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN

More information

I. EspressReport 100%Java JSP API II. EspressReport Report Designer Report Designer - Report Designer Web Java Web Web Report Designer import java.awt

I. EspressReport 100%Java JSP API II. EspressReport Report Designer Report Designer - Report Designer Web Java Web Web Report Designer import java.awt TEL: 03-3360-9336 FAX: 03-3660-9337 soft@climb.co.jp www.climb.co.jp Overview, Technology & Features White Paper I. EspressReport 100%Java JSP API II. EspressReport Report Designer Report Designer - Report

More information

<4D F736F F D A B C982E682E98F6F90C88A6D E646F63>

<4D F736F F D A B C982E682E98F6F90C88A6D E646F63> 2011 年度卒業論文 WEB アプリケーションによる出席確認システムの作成 文学部人間関係学科 4 年 学籍番号 08500027 山口久子 目次 1. はじめに 1 2. WEB アプリケーションとは 1 2.1 WEB アプリケーションの仕組みと構造 1 2.2 WEB アプリケーションの利点 2 3. サーバーサイドプログラムと Java アプリケーション 2 3.1 Applet 3 3.2

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション Java J2EE Spring Spring Dependency Injection AOP Java J2EE 2 4 Application Java Enterprise API 5 6 mod_jk2 AJP13 Coyote/JK2 Connector Session Apache2 Tomcat5-a AJP13 Coyote/JK2 Connector Session Tomcat5-b

More information

JAVA H13 OISA JAVA 1

JAVA H13 OISA JAVA 1 JAVA H13 OISA JAVA 1 ...3 JAR...4 2.1... 4 2.2... 4...5 3.1... 5 3.2... 6...7 4.1... 7 4.2... 7 4.3... 10 4.4...11 4.5... 12 4.6... 13 4.7... 14 4.8... 15 4.9... 16...18 5.1... 18 5.2...19 2 Java Java

More information

{:from => Java, :to => Ruby } Java Ruby KAKUTANI Shintaro; Eiwa System Management, Inc.; a strong Ruby proponent http://kakutani.com http://www.amazon.co.jp/o/asin/4873113202/kakutani-22 http://www.amazon.co.jp/o/asin/477413256x/kakutani-22

More information

目次

目次 http://www0.info.kanagawa-u.ac.jp/~kaiya/wa/ dotcampus ショートコード 212834 ウエブアプリケーション第 15 回 Servlet 2018/1/18 海谷治彦 1 目次 JSP/Servletの対比 ( ほぼ復習 ) Servletの記述 Servletのコンパイル Servletの配置 redirect と forward ウエブアプリに利用可能な通常

More information

IdPClusteringStateless 本ページの記述は IdPv2 に対するものです IdPv3 ではここで説明されている機能が概ね組み込みで標準提供されています Shibboleth-IdP 冗長化環境構築手順書 (Stateless Clustering 編 ) 2012 年 5 月 8

IdPClusteringStateless 本ページの記述は IdPv2 に対するものです IdPv3 ではここで説明されている機能が概ね組み込みで標準提供されています Shibboleth-IdP 冗長化環境構築手順書 (Stateless Clustering 編 ) 2012 年 5 月 8 IdPClusteringStateless 本ページの記述は IdPv2 に対するものです IdPv3 ではここで説明されている機能が概ね組み込みで標準提供されています Shibboleth-IdP 冗長化環境構築手順書 (Stateless Clustering 編 ) 2012 年 5 月 8 日国立情報学研究所 - 目次 - 1. はじめに 1.1. 本章の目的 1.2. 前提条件 1.3.

More information

intra-mart WebPlatform/AppFramework

intra-mart WebPlatform/AppFramework intra-mart WebPlatform/AppFramework Ver.7.2 Seasar2 連携プログラミングガイド 2010/04/01 初版 変更年月日 2010/04/01 初版 > 変更内容 目次 > 1 はじめに...1 1.1 目的...1 1.2 Seasar2 プロダクト...1 2 セットアップ...2 2.1 トランザクションマネージャとデータソース...2

More information

Java演習(4) -- 変数と型 --

Java演習(4)   -- 変数と型 -- 50 20 20 5 (20, 20) O 50 100 150 200 250 300 350 x (reserved 50 100 y 50 20 20 5 (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics; (reserved public class Blocks1 extends

More information

ネットワーク Ⅳ 32 ページ Servlet と JSP と Ajax 紹介 <body> <p > 商品名 :<input type="text" value="goodsa" id="nameid"></p> <p > 在庫数 :<i

ネットワーク Ⅳ 32 ページ Servlet と JSP と Ajax 紹介 <body> <p > 商品名 :<input type=text value=goodsa id=nameid></p> <p > 在庫数 :<i ネットワーク Ⅳ 31 ページ Servlet と JSP と Ajax 紹介 前の目標が終わっていない人はそちらを先行のこと 前回の 30 ページ検討問題 shouhinedit.html shouhinedit.jsp の解答例を示す これは XMLHttpRequest(HTTP 通信を行うための JavaScript 組み込みクラス ) による非同期通信を利用して 変更ボタンで指定商品名を変更する問題であった

More information

intra-mart マスカット連携ガイド

intra-mart マスカット連携ガイド intra-mart マスカット連携ガイド Version 6.1 第三版 2008 年 1 月 31 日 > 変更年月日変更内容 2007/7/31 初版 2007/8/31 第二版以下の説明を追加 3.1.2.2 初期表示時のアクション 3.2.2.2 初期表示時のアクション 2008/1/31 第三版 3.3 デバック を追加 目次 > 1 はじめに...3

More information

Microsoft PowerPoint - oas4082_NewFeature.ppt[fiLJݔæ‡è’êŠp]

Microsoft PowerPoint - oas4082_NewFeature.ppt[fiLJݔæ‡è’êŠp] Oracle Application Server 4.0.8.2 新機能概要 日本オラクル株式会社 1 1 OAS 4.0.8.2 Enhancements セキュリティ関連の機能拡張 Weak Crypto Exclusion/Cookie の最大サイズ拡張 / Entrust Certificate Authority サポート JServlet の機能拡張 Chaining Servlets/Aliasing

More information

untitled

untitled Ajax Web Ajax http://www.openspc2.org/javascript/ajax/ajax_stu dy/index.html Life is beautiful Ajax http://satoshi.blogs.com/life/2005/06/ajax.html Ajax Ajax Asynchronous JavaScript + XML JavaScript XML

More information

データ構造とアルゴリズム論

データ構造とアルゴリズム論 第 12 章.データベースを 利 用 した Web アプリケーション 学 習 のねらい 1 Web アプリケーション 上 でデータベースを 利 用 する 方 法 を 学 習 する < 先 週 の 復 習 > 講 義 で 示 された 基 礎 課 題 12-1 に 解 答 して 下 さい 12-1.データベース 上 のデータを 表 示 する Web アプリケーション 11-2 節 では テーブル account

More information

本ドキュメントについて この作品は クリエイティブ コモンズの表示-改変禁止 2.1 日本ライセンスの下でライセンスされていま す この使用許諾条件を見るには をチェックするか クリエイティブ コモン

本ドキュメントについて この作品は クリエイティブ コモンズの表示-改変禁止 2.1 日本ライセンスの下でライセンスされていま す この使用許諾条件を見るには   をチェックするか クリエイティブ コモン Webアプリケーション開発基礎 株式会社ナレッジエックス http://www.knowledge-ex.jp/ Version 0.9.007 1 本ドキュメントについて この作品は クリエイティブ コモンズの表示-改変禁止 2.1 日本ライセンスの下でライセンスされていま す この使用許諾条件を見るには http://creativecommons.org/licenses/by-nd/2.1/jp/

More information

スライド 1

スライド 1 CloudFoundry ( vcap ) 上で JRuby でアプリを動かす 2012/01/19 ( 木 ) 第 4 回 CloudFoundry 輪読会 原嘉彦 ( goronyanko.h@gmail.com ) 自己紹介 何者? : 原嘉彦 ( Yoshihiko Hara ) twitter GORO_Neko mail goronyanko.h@gmail.com 日頃何やってるヒト?

More information

CONTENTS 0 /JSP 13 0.1 Web 14 1 HTML Web 21 1.1 Web HTML 22 1.2 HTML 27 1.3 Web 33 1.4 HTML 43 1.5 46 1.6 47 1.7 48 2 Web 51 2.1 Web 52 2.2 Web 54 2.3 Web 59 2.4 65 2.5 68 2.6 75 2.7 76 2.8 77 3 81 3.1

More information

XMLアクセス機能説明書

XMLアクセス機能説明書 SolarisTM Solaris Microsoft Windows NT Server network operating system Version 4.0 Windows NT Microsoft Windows 2000 Server operating systemmicrosoft Windows 2000 Advanced Server operating system Windows

More information

新・明解Java入門

新・明解Java入門 537,... 224,... 224,... 32, 35,... 188, 216, 312 -... 38 -... 38 --... 102 --... 103 -=... 111 -classpath... 379 '... 106, 474!... 57, 97!=... 56 "... 14, 476 %... 38 %=... 111 &... 240, 247 &&... 66,

More information

目的 泡立ち法を例に Comparableインターフェイスの実装 抽象クラスの利用 型パラメタの利用 比較 入替 の回数を計測

目的 泡立ち法を例に Comparableインターフェイスの実装 抽象クラスの利用 型パラメタの利用 比較 入替 の回数を計測 泡立ち法とその実装 計算機アルゴリズム特論 :2017 年度只木進一 目的 泡立ち法を例に Comparableインターフェイスの実装 抽象クラスの利用 型パラメタの利用 比較 入替 の回数を計測 Comparable インターフェイ ス クラスインスタンスが比較可能であることを示す Int compareto() メソッドを実装 Integer Double String などには実装済み public

More information

Java演習(2) -- 簡単なプログラム --

Java演習(2)   -- 簡単なプログラム -- Java public class Hello Hello (class) (field)... (method)... Java main Hello World(Hello.java) public class Hello { public static void main(string[ ] args) { public() (package) Hello World(Hello.java)

More information

WAS V8.5.5 SAML認証構成ガイド - Liberty Profile編

WAS V8.5.5 SAML認証構成ガイド - Liberty Profile編 WebSphere Application Server Liberty Profile 版 日本アイ ビー エムシステムズ エンジニアリング株式会社 1 2015 IBM Corporation Disclaimer この資料は日本アイ ビー エム株式会社ならびに日本アイ ビー エムシステムズ エンジニアリング株式会社の正式なレビューを受けておりません 当資料は 資料内で説明されている製品の仕様を保証するものではありません

More information

: : : TSTank 2

: : : TSTank 2 Java (8) 2008-05-20 Lesson6 Lesson5 Java 1 Lesson 6: TSTank1, TSTank2, TSTank3 java 2 car1 car2 Car car1 = new Car(); Car car2 = new Car(); car1.setcolor(red); car2.setcolor(blue); car2.changeengine(jet);

More information

intra-mart WebPlatform/AppFramework

intra-mart WebPlatform/AppFramework intra-mart WebPlatform/AppFramework Ver.7.0 Seasar2 連携プログラミングガイド 2010/11/30 第 3 版 > 変更年月日変更内容 2008/07/07 初版 2009/02/27 第 2 版 3.1.2.1.1 im_hotdeploy.diconの設定 を追加 2010/11/30 第 3 版 3.1.2.2 Hot deploy

More information

Oracle9iAS Containers for J2EE Servlet 開発者ガイドおよびリファレンス

Oracle9iAS Containers for J2EE Servlet 開発者ガイドおよびリファレンス Oracle9iAS Containers for J2EE Servlet 開発者ガイドおよびリファレンス 2001 年 12 月 目次 はじめに はじめに... iii 対象読者... このマニュアルの内容... 表記規則... iii iii iv 1 サーブレットの概要 参考情報... 1-2 サーブレット情報... 1-2 サーブレットの概要... 1-3 サーブレットの利点... 1-3

More information

. IDE JIVE[1][] Eclipse Java ( 1) Java Platform Debugger Architecture [5] 3. Eclipse GUI JIVE 3.1 Eclipse ( ) 1 JIVE Java [3] IDE c 016 Information Pr

. IDE JIVE[1][] Eclipse Java ( 1) Java Platform Debugger Architecture [5] 3. Eclipse GUI JIVE 3.1 Eclipse ( ) 1 JIVE Java [3] IDE c 016 Information Pr Eclipse 1,a) 1,b) 1,c) ( IDE) IDE Graphical User Interface( GUI) GUI GUI IDE View Eclipse Development of Eclipse Plug-in to present an Object Diagram to Debug Environment Kubota Yoshihiko 1,a) Yamazaki

More information

Java (5) 1 Lesson 3: x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java , 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) "flow

Java (5) 1 Lesson 3: x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java , 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) flow Java (5) 1 Lesson 3: 2008-05-20 2 x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java 1.1 10 10 0 1.0 2.0, 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) "flowrate.dat" 10 8 6 4 2 0 0 5 10 15 20 25 time (s) 1 1

More information

Java (9) 1 Lesson Java System.out.println() 1 Java API 1 Java Java 1

Java (9) 1 Lesson Java System.out.println() 1 Java API 1 Java Java 1 Java (9) 1 Lesson 7 2008-05-20 Java System.out.println() 1 Java API 1 Java Java 1 GUI 2 Java 3 1.1 5 3 1.0 10.0, 1.0, 0.5 5.0, 3.0, 0.3 4.0, 1.0, 0.6 1 2 4 3, ( 2 3 2 1.2 Java (stream) 4 1 a 5 (End of

More information

intra-mart WebPlatform/AppFramework

intra-mart WebPlatform/AppFramework intra-mart WebPlatform/AppFramework Ver.7.2 Maskat 連携プログラミングガイド 2010/10/29 第 2 版 > 変更年月日変更内容 2010/04/01 初版 2010/10/29 第 2 版 maskat-2.2.0 の同梱よる説明の追加 (1.1 / 1.2) マスカットサンプルのソースコードを maskat-2.2.0

More information

1 Java Java GUI , 2 2 jlabel1 jlabel2 jlabel3 jtextfield1 jtextfield2 jtextfield3 jbutton1 jtextfield1 jtextfield2 jtextfield3

1 Java Java GUI , 2 2 jlabel1 jlabel2 jlabel3 jtextfield1 jtextfield2 jtextfield3 jbutton1 jtextfield1 jtextfield2 jtextfield3 1 2 2 1 2 2.1.................................................... 2 2.2.................................................... 2 2.3........................................ 2 2.4....................................................

More information

目次

目次 http://www0.info.kanagawa-u.ac.jp/~kaiya/wa/ dotcampus ショートコード 179067 ウエブアプリケーション 2015 第 12 回 Servlet 2015/12/10 海 谷 治 彦 1 演 習 解 答 例 期 末 試 験 について 目 次 JSP/Servletの 対 比 (ほぼ 復 習 ) Servletの 記 述 Servletのコンパイル

More information

untitled

untitled -1- 1. JFace Data Binding JFace Data Binding JFace SWT JFace Data Binding JavaBean JFace Data Binding JavaBean JFace Data Binding 1JFace Data Binding JavaBean JavaBean JavaBean name num JavaBean 2JFace

More information

オンラインテスト

オンラインテスト 1. 2. JavaScript 3. Perl 4. CGI 1. WWW HTML WWW World Wide Web HTML Hyper Text Markup Language XML, XHTML Java (.java) JavaApplet (.class,.jar) JavaServlet (.jsp) JavaScript (.html) CGI (.cgi) SSI (.shtml)

More information

1: 3 CAS[3] uportal[4] (Web ) 3.1 CAS CAS[3] Yale JA-SIG [5] CAS 1. 2(1) CAS Web (2)CAS ID LDAP 2. 2(3) CAS Web CAS Ticket (4)Web Ticket 3. Ticket Web

1: 3 CAS[3] uportal[4] (Web ) 3.1 CAS CAS[3] Yale JA-SIG [5] CAS 1. 2(1) CAS Web (2)CAS ID LDAP 2. 2(3) CAS Web CAS Ticket (4)Web Ticket 3. Ticket Web ,, 2007 8 2006 CAS uportal Web 2006 10 Web keyword:, CAS, uportal, 1 SOSEKI 1300 2006 PC LAN IT (LMS: Learning Management System) WebCT CALL (Computer Assisted Language Learning) LMS IT [1] 2004 SOSEKI

More information

226

226 226 227 Main ClientThread Request Channel WorkerThread Channel startworkers takerequest requestqueue threadpool WorkerThread channel run Request tostring execute name number ClientThread channel random

More information

Oracle JDeveloper 10g ADF Creation Date: Jul 07, 2004 Last Update: Jul 08, 2004 Version 1.0

Oracle JDeveloper 10g ADF Creation Date: Jul 07, 2004 Last Update: Jul 08, 2004 Version 1.0 Oracle JDeveloper 10g ADF Creation Date: Jul 07, 2004 Last Update: Jul 08, 2004 Version 1.0 ... 1... 2... 3... 5... 6... 6... 9... 9 Vector... 10 Struts... 12... 14 cart.jsp 1... 15 cart.jsp 2... 17 JSP...

More information

Java updated

Java updated Java 2003.07.14 updated 3 1 Java 5 1.1 Java................................. 5 1.2 Java..................................... 5 1.3 Java................................ 6 1.3.1 Java.......................

More information

Oracle9i JDeveloperによるWebサービスの構築

Oracle9i JDeveloperによるWebサービスの構築 Oracle9i JDeveloper Web Web Web Web Web Web EJB Web EJB Web Web Oracle9iAS Apache SOAP WSDL Web Web Web Oracle9i JDeveloper Java XML Web Web Web Web Simple Object Access Protocol SOAP :Web Web Services

More information

Oracle Coherence REST を WebLogic Server への デプロイ手順 日本オラクル株式会社 作成日 : 2011/10/17 更新日 : 2011/11/2 VERSION: 1.1 Copyright Oracle Corporation Japan, A

Oracle Coherence REST を WebLogic Server への デプロイ手順 日本オラクル株式会社 作成日 : 2011/10/17 更新日 : 2011/11/2 VERSION: 1.1 Copyright Oracle Corporation Japan, A Oracle Coherence REST を WebLogic Server への デプロイ手順 日本オラクル株式会社 作成日 : 2011/10/17 更新日 : 2011/11/2 VERSION: 1.1 Copyright Oracle Corporation Japan, 2011. All rights reserved. i 利用時の注意点 本ドキュメントのご利用に際しましては 以下の注意点にご留意くださいますようよろしくお願いいたします

More information

概要

概要 EWEB-3K-N072 PreSerV for Web i 1... 1 1.1... 1 1.1.1... 1 1.1.2... 1 1.2... 4 1.2.1 PreSerV for Web... 4 2... 5 2.1... 6 2.2... 8 2.3... 9 2.3.1... 9 2.3.2... 9 2.4 Web...11 2.4.1 MapDataManger...11 2.4.2...12

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション Oracle Application Server 10g (10.1.2) Oracle Application Server10g(10.1.2) : data-sources.xml WAR (Web ) : orion-web.xml JAR (Enterprise JavaBeans) : orion-ejb-jar.xml EAR ( ) : orion-application.xml

More information