ユニット・テストの概要

Size: px
Start display at page:

Download "ユニット・テストの概要"

Transcription

1

2 JUnit Apache Cactus... 7 HttpUnit/ServletUnit... 8 utplsql... 8 Clover... 8 Anthill Pro SQL Java setter getter CRUD : StringUtils : Person : StringUtilsTester : PersonTester ADF ADF ADF CRUD Oracle Corporation Getting Started With Unit-testing

3 Java Oracle Corporation Getting Started With Unit-testing

4 3 substitute() public static void testsubstitute() assertequals("a bear", StringUtils.substitute("a goose", "goose", "bear")); substitute() public static String substitute (String text, String replace, String with) return new String("a donkey"); a bear a donkey 1 public static String substitute (String text, String replace, String with) return new String("a bear"); substitute() substitute() text replace with NULL 4 Oracle Corporation Getting Started With Unit-testing

5 IDE assertequals() substitute ("a goose", "goose", "bear") a bear 5 Oracle Corporation Getting Started With Unit-testing

6 JUnit Java JUnit OTN JUnit Extension JDeveloper JUnit JUnit 6 Oracle Corporation Getting Started With Unit-testing

7 [JDeveloper home]\jdev\lib\ext Oracle JDeveloper JUnit JVM Java JUnit JDeveloper JUnit HTTP EJB JVM Apache Cactus Apache Cactus Cactus JUnit OC4J Tomcat Cactus EJB JSP XSLT Cactus 7 Oracle Corporation Getting Started With Unit-testing

8 Cactus Web Cactus HttpUnit HttpUnit/ServletUnit HttpUnit Web HTTP HttpUnit JavaScript Cookie Web HttpUnit ServletUnit JUnit Cactus HttpUnit ServletUnit HttpUnit UI HttpUnit utplsql Oracle PL/SQL PL/SQL utplsql Clover 1 Clover Jakarta Ant Clover Clover Clover JDeveloper 10g Clover Clover 8 Oracle Corporation Getting Started With Unit-testing

9 Clover レポートの例 JDeveloper に統合できる Clover Anthill Pro Anthill Pro は ソフトウェア ビルド管理サーバーです Anthill Pro により Apache Ant のようなビルダー フレームワークに基づくビルド プロセス ユニット ユニット テストの概要 9 Oracle Corporation 発行 Getting Started With Unit-testing の翻訳版です

10 Clover CVS Anthill Pro Anthill JUnit JUnit.org ( Extensions JSP 1 SQL Java SQL SQL 2 SQL Java 10 Oracle Corporation Getting Started With Unit-testing

11 SQL Java Java 2 TopLink 1 TopLink TopLink SQL TopLink CHECK Java PL/SQL SQL 2 Java - IDE Java 2 PL/SQL Developer Toad 1 11 Oracle Corporation Getting Started With Unit-testing

12 2 1 jar setter getter Java Bean getter setter getter setter getter setter getter setter CRUD TopLink setter getter CRUD private protected 12 Oracle Corporation Getting Started With Unit-testing

13 JUnit JUnit JUnit Javadoc FAQ Wiki ADF ADF Toy Store Demo /jdev/collateral/papers/10g/adftoy store.html 13 Oracle Corporation Getting Started With Unit-testing

14 : StringUtils substitute() bear true isabear() NULL trimemptytonull() package oracle.code.utils; import java.util.list; import java.util.arraylist; import java.util.stringtokenizer; public class StringUtils private static String BEAR = new String("bear"); private static String EMPTY = new String(""); * * * * in.replaceall(find,newstring) * in: find: newstring: in * newstring public static String substitute (String in, String find, String newstring) // NULL if ( in == null find == null newstring == null) return in; char[] working = in.tochararray(); StringBuffer stringbuffer = new StringBuffer(); // find int startindex = in.indexof(find); if (startindex < 0) return in; int currindex=0; while (startindex > -1) for(int i = currindex; i < startindex; i++) stringbuffer.append(working[i]); 14 Oracle Corporation Getting Started With Unit-testing

15 currindex = startindex; stringbuffer.append(newstring); currindex += find.length(); startindex = in.indexof(find,currindex); for (int i = currindex; i < working.length; i++) stringbuffer.append(working[i]); return stringbuffer.tostring(); * s "bear" true * s: s "bear" true public static boolean isabear(string s) return BEAR.equals(s); * ""NULL * string: NULL string public static String trimemptytonull (String string) if (string == null EMPTY.equals(string.trim())) return null; return string; 15 Oracle Corporation Getting Started With Unit-testing

16 : Person Person equal getter setter package oracle.code.model; public class Person private String name; private Integer age; public Person () * * name: age: public Person (String name, Integer age) this.name = name; this.age = age; * * name: public void setname(string name) this.name = name; * * public String getname() return this.name; * * age: public void setage(integer age) this.age = age; * * 16 Oracle Corporation Getting Started With Unit-testing

17 public Integer getage() return this.age; * * p: this p true public boolean equals(object p) // p this true if (this == p) return true; // p false if (!(p instanceof Person)) return false; // true Person q = (Person)p; return ( (this.name == null? q.name == null: this.name.equals(q.name)) && (this.age == null? q.age == null: this.age.equals(q.age)) ); 17 Oracle Corporation Getting Started With Unit-testing

18 : StringUtilsTester StringUtils testsubstitute() JDeveloper JUnit New General Unit Tests (JUnit) Test Case Subject Class StringUtilsTester Package Name oracle.code.utils.test Extends junit.framework.testcase package oracle.code.utils.test; import junit.framework.test; import junit.framework.testcase; import junit.framework.testsuite; import oracle.code.utils.stringutils; import oracle.code.model.person; public class StringUtilsTester extends TestCase public StringUtilsTester(String stestname) super (stestname); * String substitute (String, String, String) public void testsubstitute() // A: assertequals("a bear", StringUtils.substitute("a goose", "goose", "bear")); // B: assertequals("a goat", StringUtils.substitute("a goose", "goose", "bear")); // C: // assertequals("substitute goose by bear", "a goat", StringUtils.substitute("a goose", "goose", "bear")); 18 Oracle Corporation Getting Started With Unit-testing

19 // D: asserttrue/false assertequals("a bear is a bear", true, StringUtils.isABear("bear")); asserttrue("a bear is a bear", StringUtils.isABear("bear")); assertfalse("a goat is not a bear", StringUtils.isABear("goat")); * String trimemptytonull(string) public void testtrimemptytonull() // E: assertnull/assertnotnull assertequals("trim empty string to null is null", null, StringUtils.trimEmptyToNull("")); assertnull("trim empty string to null is null", StringUtils.trimEmptyToNull("")); // trimemptytonull assertnotnull("trim x to null is not null", StringUtils.trimEmptyToNull("x")); 19 Oracle Corporation Getting Started With Unit-testing

20 : PersonTester Person JUnit JDeveloper JUnit package oracle.code.model.test; import junit.framework.test; import junit.framework.testcase; import junit.framework.testsuite; import oracle.code.model.person; public class PersonTester extends TestCase public PersonTester(String stestname) super(stestname); * boolean equals (Person) public void testequals() // Person jan = new Person("Jan", new Integer(10)); Person piet = new Person("Jan", new Integer(10)); Person joris = new Person("Jan", new Integer(10)); Person fred = new Person(); Person klaas = new Person("Klaas", new Integer(10)); // F: assertequals // assertequals("jan must equal itself", jan, jan); // assertequals("jan equals piet", jan, piet); assertequals("so piet must equal jan", piet, jan); // assertequals("piet equals joris", piet, joris); assertequals("so jan must equal joris", jan, joris); // assertequals("fred equals itself", fred, fred); assertfalse("fred not equals null", fred.equals(null)); assertfalse("jan must not equal klaas", jan.equals(klaas)); // G: assertsame assertsame("fred is same object as fred, fred, fred); assertnotsame("jan is not same as piet", jan, piet); 20 Oracle Corporation Getting Started With Unit-testing

21 PersonTester StringUtilsTester JUnit 1 JDeveloper JUnit New General Unit Tests (JUnit) Test Suite Class AllTests oracle.code.test Extends java.lang.object Cases Add Suite() JUnit test addtest()addtestsuite() suite() package oracle.code.test; import junit.framework.test; import junit.framework.testsuite; public class AllTests public static Test suite() TestSuite suite = new TestSuite("AllTests"); suite.addtestsuite(oracle.code.model.test.persontester.class); suite.addtestsuite(oracle.code.utils.test.stringutilstester.class); return suite; public static void main (String args[]) String args2 [] = "-noloading", "oracle.code.test.alltests"; junit.swingui.testrunner.main(args2); 21 Oracle Corporation Getting Started With Unit-testing

22 PersonTester SetUp()tearDown() 2 JUnit test setup() teardown() 1 package oracle.code.model.test; import junit.framework.test; import junit.framework.testcase; import junit.framework.testsuite; import oracle.code.model.person; public class PersonTester extends TestCase private Person jan; private Person piet; private Person joris; private Person fred; private Person klaas; public PersonTester(String stestname) super(stestname); public void setup() this.jan = new Person("Jan", new Integer(10)); this.piet = new Person("Jan", new Integer(10)); this.joris = new Person("Jan", new Integer(10)); this.fred = new Person () ; this.klaas = new Person("Klaas", new Integer(10)); public void teardown() this.jan = null; this.piet = null; this.joris = null; this.fred = null; this.klaas = null; * boolean equals (Person) public void testequals() // F: assertequals // assertequals("jan must equal itself", jan, jan); // assertequals("jan equals piet", jan, piet); assertequals("so piet must equal jan", piet, jan); 22 Oracle Corporation Getting Started With Unit-testing

23 // assertequals("piet equals joris", piet, joris); assertequals("so jan must equal joris", jan, joris); // assertequals("fred equals itself", fred, fred); assertfalse("fred not equals null", fred.equals(null)); assertfalse("jan must not equal klaas", jan.equals(klaas)); // G: assertsame assertsame("fred is same object as fred", fred, fred); assertnotsame("jan is not same object as piet", jan, piet); ADF ADF ADF HR HR HR ADF JDeveloper JUnit New General Unit Tests (JUnit) Business Components Test Fixture JDBC DataSource JDeveloper J2EE Web/EJB Bundled Exception Mode true 23 Oracle Corporation Getting Started With Unit-testing

24 package oracle.hr.testfixtures; import oracle.jbo.*; import oracle.jbo.client*; public class HrServicesConnectFixture private static final String AM = "oracle.hr.services.hrservices"; private static final String CF = "HrServicesLocal"; private ApplicationModule applicationmodule; public HrServicesConnectFixture() * public void setup() throws Exception this.applicationmodule = Configuration.createRootApplicationModule(AM, CF); /* * ADF/Struts Bundled Exception Mode this.applicationmodule.gettransaction().setbundledexceptionmode( true ); * public void teardown() throws Exception Configuration.releaseRootApplicationModule(this.applicationModule, true); * * public ApplicationModule getapplicationmodule() return this.applicationmodule; 24 Oracle Corporation Getting Started With Unit-testing

25 ADF CRUD ADF 1 ManagerId DepartmentId ID package oracle.hr.dataaccess; import junit.framework.test; import junit.framework.testcase; import junit.framework.testsuite; import oracle.hr.testfixtures.hrservicesconnectfixture; import oracle.jbo.jboexception; import oracle.jbo.key; import oracle.jbo.viewobject; import oracle.jbo.row; public class DepartmentsTests extends TestCase private static String DEPARTMENTID = "DepartmentId"; private static String DEPARTMENTNAME = "DepartmentName"; private static String MANAGERID = "ManagerId"; private static String LOCATIONID = "LocationId"; HrServicesConnectFixture connectionfixture = new HrServicesConnectFixture(); public DepartmentsTests (String stestname) super(stestname); public void testdepartmentsviewobjectlifecycle() ViewObject departmentsview = this.connectionfixture.getapplicationmodule().findviewobject( "Depart ments"); * NULL assertnotnull(departmentsview); * Row departmentrow = departmentsview.createrow(); try 25 Oracle Corporation Getting Started With Unit-testing

26 departmentrow.setattribute(this.departmentid, "1"); departmentrow.setattribute(this.departmentname, "test department"); departmentrow.setattribute(this.managerid, "100"); departmentrow.setattribute(this.locationid, "1000"); catch (JboException jbo) fail("should not have thrown this " + jbo.getclass().getname() + " exception yet due to bundled exception mode"); this.connectionfixture.getapplicationmodule().gettransaction(). commit(); * Row[] departmentrows = new Row[0]; try Key key = departmentrow.getkey(); departmentrows = departmentsview.findbykey(key, 1); assertequals("expect to find one department with id 1", departmentrows.length, 1) ; catch (JboException jbo) fail("should not have thrown this " + jbo.getclass().getname() + " exception yet due to bundled exception mode"); * try departmentrows[0].setattribute(this.departmentname, "testing department"); this.connectionfixture.getapplicationmodule().gettransaction(). commit(); catch (JboException jbo) fail("should not have thrown this " + jbo.getclass().getname() + " exception yet due to bundled exception mode"); * try 26 Oracle Corporation Getting Started With Unit-testing

27 departmentrows[0].remove(); this.connectionfixture.getapplicationmodule().gettransaction(). commit(); catch (JboException jbo) fail("should not have thrown this " + jbo.getclass().getname() + " exception yet due to bundled exception mode"); public void setup() throws Exception this.connectionfixture.setup(); public void teardown() throws Exception this.connectionfixture.teardown(); 27 Oracle Corporation Getting Started With Unit-testing

28 : Jan Kettenis, Remco de Blok Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA U.S.A. : : : Copyright 2004, Oracle. All rights reserved. Oracle Oracle Corporation

新・明解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

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

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

untitled

untitled Oracle Enterprise Manager 10g Oracle Application Server 2003 11 Oracle Enterprise Manager 10g Oracle Application Server... 3 Application Server... 4 Oracle Application Server... 6... 6... 7 J2EE... 8...

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

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

ALG ppt

ALG ppt 2012 6 21 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html 1 l l O(1) l l l 2 (123 ) l l l l () l H(k) = k mod n (k:, n: ) l l 3 4 public class MyHashtable

More information

untitled

untitled 2011 6 20 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2011/index.html tech.ac.jp/k1sakai/lecture/alg/2011/index.html html 1 O(1) O(1) 2 (123) () H(k) = k mod n

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

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

Microsoft PowerPoint ppt

Microsoft PowerPoint ppt 独習 Java ( 第 3 版 ) 6.7 変数の修飾子 6.8 コンストラクタの修飾子 6.9 メソッドの修飾子 6.10 Object クラスと Class クラス 6.7 変数の修飾子 (1/3) 変数宣言の直前に指定できる修飾子 全部で 7 種類ある キーワード final private protected public static transient volatile 意味定数として使える変数同じクラスのコードからしかアクセスできない変数サブクラスまたは同じパッケージ内のコードからしかアクセスできない変数他のクラスからアクセスできる変数インスタンス変数ではない変数クラスの永続的な状態の一部ではない変数不意に値が変更されることがある変数

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

やさしいJavaプログラミング -Great Ideas for Java Programming サンプルPDF

やさしいJavaプログラミング -Great Ideas for Java Programming サンプルPDF pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) 3 5 14 18 21 23 23 24 28 29 29 31 32 34 35 35 36 38 40 44 44 45 46 49 49 50 pref : 2004/6/5 (11:8) 50 51 52 54 55 56 57 58 59 60 61

More information

XMLテクノロジを使いやすくする

XMLテクノロジを使いやすくする XML 2005 9 XML... 3... 3 XML... 5 DOM XML... 5 DOM 3.0 Load and Save... 5 DOM 3.0 Validation... 8 SAX XML... 11 SAX... 11 XSL... 12... 13... 13... 14... 14 XML... 15 XML... 15 JAXB CLASS GENERATOR... 16

More information

tkk0408nari

tkk0408nari SQLStatement Class Sql Database SQL Structured Query Language( ) ISO JIS http://www.techscore.com/tech/sql/02_02.html Database sql Perl Java SQL ( ) create table tu_data ( id integer not null, -- id aid

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

解きながら学ぶJava入門編

解きながら学ぶJava入門編 44 // class Negative { System.out.print(""); int n = stdin.nextint(); if (n < 0) System.out.println(""); -10 Ÿ 35 Ÿ 0 n if statement if ( ) if i f ( ) if n < 0 < true false true false boolean literalboolean

More information

Oracle Application Server 10g Release 3(10.1.3)- アジャイル・エンタープライズ(俊敏な企業)のためのデータ・アクセス

Oracle Application Server 10g Release 3(10.1.3)- アジャイル・エンタープライズ(俊敏な企業)のためのデータ・アクセス Oracle Application Server 10g Release 3 10.1.3 2005 8 Oracle Application Server 10g Release 3 10.1.3... 3 Oracle Application Server 10g Release 3 10.1.3 3... 4... 4 RAC... 6 JDBC... 7 JMX... 8... 9 Oracle...

More information

ValueHolder... 9 Customer.java Oracle TopLink 10g(10.1.3) È Volume3 2

ValueHolder... 9 Customer.java Oracle TopLink 10g(10.1.3) È Volume3 2 lê~åäé= qçéiáåâ= NMÖENMKNKPF Volume3 Creation Date: Mar 04, 2005 Last Update: Aug 23, 2005 Version 1.0 ...3... 3...4... 4... 6 ValueHolder... 9 Customer.java... 10...14 Oracle TopLink 10g(10.1.3) È Volume3

More information

Oracle Identity Managementの概要およびアーキテクチャ

Oracle Identity Managementの概要およびアーキテクチャ Oracle Identity Management 2003 12 Oracle Identity Management... 3 ID... 3 ID... 4 ID... 4 Oracle Identity Management... 5 Oracle Identity Management... 6 Oracle Identity Management... 7 ID... 8 Application

More information

Oracle Forms Services R6i

Oracle Forms Services R6i Creation Date: Jul 04, 2001 Last Update: Jul 31, 2001 Version: 1.0 0 0... 1 1...3 1.1... 3 1.2... 3 1.3... 3 2...4 2.1 C/S... 4 2.2 WEB... 5 2.3 WEB... 5 2.4 JAVABEAN... 6 3 JAVABEAN...7 3.1... 7 3.2 JDEVELOPER...

More information

TopLink å SampleClient.java... 5 Ò readallsample() querysample() cachesample() Ç..

TopLink å SampleClient.java... 5 Ò readallsample() querysample() cachesample() Ç.. lê~åäé= qçéiáåâ= NMÖENMKNKPF Volume2 Creation Date: Mar 04, 2005 Last Update: Aug 22, 2005 Version 1.0 ...3... 3 TopLink å...4 1... 4... 4 SampleClient.java... 5 Ò... 8... 9... 10 readallsample()... 11

More information

Microsoft Word - migrateto10g2.doc

Microsoft Word - migrateto10g2.doc Oracle JDeveloper 10g 9.0.5/10.1.2 JDeveloper Creation Date: Feb. 9, 05 Last Update: Jul. 27, 05 Version: 1.1 = ... 4... 4 JDeveloper... 5... 5 Web... 6... 7... 8... 8 JDeveloper... 10... 10... 11... 19...

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

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

組織変更ライブラリ

組織変更ライブラリ 2003 6 1...1 2...2 3...4 3.1...4 3.2...5 3.3...6 3.4...6 4...7 4.1...7 4.2...9 4.3...9 4.4...10 4.5...10 5 Web...11 5.1 WebUI...11 5.2Oracle 9iFS WebUI...12 6Oracle9i AS...13 6.1OiD...13 6.2 SSO...13 7...14

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

. 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

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

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

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

ワークショップ テスト駆動開発

ワークショップ テスト駆動開発 JUnit 5 5 20 20 FIT 20 FIT FIT 10 IT OO Web XML ADC2003 WG JUnit JUnit 3.8.1 URL: http://www.junit.org/index.htm junit.3.8.1.zip junit.jar c: junit junit.jar javac -classpath c: junit junit.jar JUnitTest.java

More information

(Eclipse\202\305\212w\202\324Java2\215\374.pdf)

(Eclipse\202\305\212w\202\324Java2\215\374.pdf) C H A P T E R 11 11-1 1 Sample9_4 package sample.sample11; public class Sample9_4 { 2 public static void main(string[] args) { int[] points = new int[30]; initializearray(points); double averagepoint =

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

Javaセキュアコーディングセミナー東京 第3回 入出力(File, Stream)と例外時の動作 演習解説

Javaセキュアコーディングセミナー東京 第3回 入出力(File, Stream)と例外時の動作 演習解説 Java セキュアコーディングセミナー東京第 3 回入出力と例外時の動作 演習解説 2012 年 11 月 11 日 ( 日 ) JPCERT コーディネーションセンター脆弱性解析チーム戸田洋三 1 Hands-on Exercises コンパイルエラーに対処しよう ファイルからのデータ入力を実装しよう 2 Hands-on Exercise(1) サンプルコードの コンパイルエラーに対処しよう 3

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

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

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

r1.dvi

r1.dvi 2006 1 2006.10.6 ( 2 ( ) 1 2 1.5 3 ( ) Ruby Java Java Java ( Web Web http://lecture.ecc.u-tokyo.ac.jp/~kuno/is06/ / ( / @@@ ( 3 ) @@@ : ( ) @@@ (Q&A) ( ) 1 http://www.sodan.ecc.u-tokyo.ac.jp/cgi-bin/qbbs/view.cgi

More information

TopLink È... 3 TopLink...5 TopLink åø... 6 TopLink å Workbench O/R ~... 8 Workbench À ~... 8 Foundation Library å... 8 TopL

TopLink È... 3 TopLink...5 TopLink åø... 6 TopLink å Workbench O/R ~... 8 Workbench À ~... 8 Foundation Library å... 8 TopL lê~åäé= qçéiáåâ= NMÖENMKNKPF Volume1 Creation Date: Mar 04, 2005 Last Update: Aug 23, 2005 Version 1.0 ...3... 3 TopLink 10.1.3 È... 3 TopLink...5 TopLink åø... 6 TopLink å... 7... 8 Workbench O/R ~...

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

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

VB.NETコーディング標準

VB.NETコーディング標準 (C) Copyright 2002 Java ( ) VB.NET C# AS-IS extremeprogramming-jp@objectclub.esm.co.jp bata@gold.ocn.ne.jp Copyright (c) 2000,2001 Eiwa System Management, Inc. Object Club Kenji Hiranabe02/09/26 Copyright

More information

Oracle Locator Oracle Database 10g Standard Edition Standard Edition One Oracle Database 10g Release 1 Oracle Locator : Enterprise Edition Oracle Loca

Oracle Locator Oracle Database 10g Standard Edition Standard Edition One Oracle Database 10g Release 1 Oracle Locator : Enterprise Edition Oracle Loca ORACLE SPATIAL OPTION ORACLE LOCATOR Oracle Database 10g Oracle Database 10g Release 2 Oracle Locator : Oracle Spatial Oracle Locator Oracle Locator Oracle Database 10g Standard Edition EPSG Standard Edition

More information

Condition DAQ condition condition 2 3 XML key value

Condition DAQ condition condition 2 3 XML key value Condition DAQ condition 2009 6 10 2009 7 2 2009 7 3 2010 8 3 1 2 2 condition 2 3 XML key value 3 4 4 4.1............................. 5 4.2...................... 5 5 6 6 Makefile 7 7 9 7.1 Condition.h.............................

More information

intra-mart Accel Platform — イベントナビゲータ 開発ガイド   初版   None

intra-mart Accel Platform — イベントナビゲータ 開発ガイド   初版   None クイック検索検索 目次 Copyright 2013 NTT DATA INTRAMART CORPORATION 1 Top 目次 intra-mart Accel Platform イベントナビゲータ開発ガイド初版 2013-07-01 None 改訂情報概要イベントフローの作成 更新 削除をハンドリングするイベントフローを非表示にする回答を非表示にするリンクを非表示にするタイトル コメントを動的に変更するリンク情報を動的に変更するナビゲート結果のリンクにステータスを表示する

More information

Oracle Application Server10g (9.0.4) - OracleAS PortalによるOracleAS Web Cacheの配置

Oracle Application Server10g (9.0.4) - OracleAS PortalによるOracleAS Web Cacheの配置 Oracle Application Server 10g 9.0.4 - OracleAS Portal OracleAS Web Cache 2004 6 Oracle Application Server 10g 9.0.4 - OracleAS Portal OracleAS Web Cache... 3... 3 1... 4 2... 5... 5... 6 OracleAS Web Cache...

More information

intra-mart Accel Platform — イベントナビゲータ 開発ガイド   初版  

intra-mart Accel Platform — イベントナビゲータ 開発ガイド   初版   Copyright 2013 NTT DATA INTRAMART CORPORATION 1 Top 目次 intra-mart Accel Platform イベントナビゲータ開発ガイド初版 2013-07-01 改訂情報概要イベントフローの作成 更新 削除をハンドリングするイベントフローを非表示にする回答を非表示にするリンクを非表示にするタイトル コメントを動的に変更するリンク情報を動的に変更するナビゲート結果のリンクにステータスを表示する

More information

JAVA とテンプレート

JAVA とテンプレート JAVA とテンプレート 序論 : コンテナ 他のクラスのオブジェクトを保存するものをコンテナ (Container) と呼ぶ 集合 リスト 表 コンテナに求められる機能 追加 削除 参照 要素の比較 並べ替え 要素のクラスが不明では 比較できない 要素が想定しているクラスのものかの判定 テンプレート以前の対応方法 コンテナ設計時に 保存されるクラスを特定してコンテナをコードする 保存されるクラスごとに作成しなければならない

More information

Microsoft Word - 430_15_Developing_Stored_Procedure.doc

Microsoft Word - 430_15_Developing_Stored_Procedure.doc Java Oracle 1998 11 Java 3 Java Web GUI Java Java Java Oracle Java Oracle8i Oracle / Oracle Java Virtual Machine VM CORBA Enterprise JavaBeans Oracle Java Java Java Oracle Oracle Java Virtual Machine Oracle

More information

Java プログラミング Ⅰ 3 回目変 数 今日の講義講義で学ぶ内容 変数とは 変数の使い方 キーボード入力の仕方 変 数 変 数 一時的に値を記憶させておく機能 変数は 型 ( データ型 ) と識別子をもちます 2 型 ( データ型 ) 変数に記憶する値の種類変数の型は 記憶できる値の種類と範囲

Java プログラミング Ⅰ 3 回目変 数 今日の講義講義で学ぶ内容 変数とは 変数の使い方 キーボード入力の仕方 変 数 変 数 一時的に値を記憶させておく機能 変数は 型 ( データ型 ) と識別子をもちます 2 型 ( データ型 ) 変数に記憶する値の種類変数の型は 記憶できる値の種類と範囲 Java プログラミング Ⅰ 3 回目変 数 今日の講義講義で学ぶ内容 変数とは 変数の使い方 キーボード入力の仕方 変 数 変 数 一時的に値を記憶させておく機能 変数は 型 ( データ型 ) と識別子をもちます 2 型 ( データ型 ) 変数に記憶する値の種類変数の型は 記憶できる値の種類と範囲を決定します 次の型が利用でき これらの型は特に基本型とよばれます 基本型 値の種類 値の範囲 boolean

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

二分木ヒープとは 集合 リストから 最小な 要素を取り出す 二分木ヒープは そのための標準的データ構造 二分木ヒープを保存するデータ構造 二分木ヒープの操作のメソッド 対象となるデータクラス 識別のためのlabelフィールド 値を保持するvalueフィールド

二分木ヒープとは 集合 リストから 最小な 要素を取り出す 二分木ヒープは そのための標準的データ構造 二分木ヒープを保存するデータ構造 二分木ヒープの操作のメソッド 対象となるデータクラス 識別のためのlabelフィールド 値を保持するvalueフィールド 二分木ヒープ (BINARY HEAP) 二分木ヒープとは 集合 リストから 最小な 要素を取り出す 二分木ヒープは そのための標準的データ構造 二分木ヒープを保存するデータ構造 二分木ヒープの操作のメソッド 対象となるデータクラス 識別のためのlabelフィールド 値を保持するvalueフィールド 二分木ヒープとは どういう二分木か ある頂点の要素 pのvalueは その子 cの要素のvalueより大きくない

More information

ALG ppt

ALG ppt 2012 7 5 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html (198 ) f(p) p 2 1 2 f 2 53 12 41 69 11 2 84 28 31 63 97 58 76 19 91 88 53 69 69 11 84 84 63

More information

Oracle Application Server 10g (9.0.4): Manually Managed Cluster

Oracle Application Server 10g (9.0.4): Manually Managed Cluster Oracle Application Server 10g 9.0.4 : 2004 6 Oracle Application Server 10g 9.0.4 : Oracle Application Server... 3... 3 Oracle Application Server... 3... 3... 4 Oracle Application Server... 6 Oracle Application

More information

Quick Sort 計算機アルゴリズム特論 :2017 年度 只木進一

Quick Sort 計算機アルゴリズム特論 :2017 年度 只木進一 Quick Sort 計算機アルゴリズム特論 :2017 年度 只木進一 2 基本的考え方 リスト ( あるいは配列 )SS の中の ある要素 xx(pivot) を選択 xx より小さい要素からなる部分リスト SS 1 xx より大きい要素からなる部分リスト SS 2 xx は SS 1 または SS 2 に含まれる 長さが 1 になるまで繰り返す pivot xx の選び方として 中央の要素を選択すると効率が良い

More information

ERP連携モジュールチュートリアル

ERP連携モジュールチュートリアル ERP SAP R/3 API 2 2004 12 17 2004/10/08 2004/12/17 SAP SAP 1...1 1.1...1 1.2...1 1.3 SAP API...2 1.4...3 1.4.1...3 1.4.2...6 1.5...7 1.6...8 1.6.1 sap_auth_info.properties Key...8 1.6.2 sap_auth_info.properties...9

More information

Oracle Real Application Clusters 10g Release 2: Microsoft SQL Server 2005との技術的比較

Oracle Real Application Clusters 10g Release 2: Microsoft SQL Server 2005との技術的比較 Oracle Real Application Clusters 10g Release 2: Microsoft SQL Server 2005 2005 9 Oracle Real Application Clusters 10g Release 2: Microsoft SQL Server 2005... 3 ORACLE REAL APPLICATION CLUSTERS... 4 SQLSERVER

More information

日本語タイトルを入力

日本語タイトルを入力 Oracle Enterprise Manager 10g Grid Control 2005 8 Enterprise Manager Grid Control Oracle Enterprise Manager 10g Grid Control Oracle Oracle Grid 1 Grid Control 2 1 Grid Control 2 Grid Control Oracle Grid

More information

Oracle Database 10gのOLAP Option

Oracle Database 10gのOLAP Option Oracle Database 10g OLAP Option OLAP Option 2005 3 Oracle Database 10g OLAP Option... 3 Oracle Business Intelligence... 4... 4... 5 Oracle Business Intelligence Beans... 5 OracleBI Discoverer... 6 OracleBI

More information

I java A

I java A I java 065762A 19.6.22 19.6.22 19.6.22 1 1 Level 1 3 1.1 Kouza....................................... 3 1.2 Kouza....................................... 4 1.3..........................................

More information

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

アルゴリズムとデータ構造1 1 200972 (sakai.keiichi@kochi sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi ://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2009/index.html 29 20 32 14 24 30 48 7 19 21 31 Object public class

More information

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

データ構造とアルゴリズム論 15 11 11 Java 21 231-0811 32 152-0033 1 Java 3-5,55,63,39,87,48,70,35,77,59,44 3-5 3-7 score2.txt 75 15 11 11 5-1 3-7 jbuttonread jbuttondisplay jlabelmessage jtextfieldname jtextfieldtokuten

More information

JUnit 概要 2015/4/16 版今泉俊幸 2015 bbreak Systems 1

JUnit 概要 2015/4/16 版今泉俊幸 2015 bbreak Systems 1 JUnit 概要 2015/4/16 版今泉俊幸 1 目次 1. 手動テストと自動テスト 2. JUnitの機能 3. 検証用メソッド 4. 基本的なJUnitテストケース 5. 実践的なJUnitテストケース 6. よく使う検証用メソッド 7. テストクラスの命名 配置など 2 手動テスト 手動テストと自動テスト テスト仕様書に基づいて 人手で値を入力 結果を検証する プログラム修正の度に実施するのはコストが高い

More information

オブジェクト脳のつくり方

オブジェクト脳のつくり方 2003 12 16 ( ) ML Java,.NET, UML J2EE, Web Java, J2EE.NET SI ex. ) OO OO OO OO OO (Controller) (Promoter) (Analyzer) (Supporter) http://nba.nikkeibp.co.jp/coachsp.html It takes time. OO OK OO 1.

More information

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

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

More information

Microsoft Word - J-jdev_dba_db_developers.doc

Microsoft Word - J-jdev_dba_db_developers.doc Oracle JDeveloper 2006 1 : Oracle Oracle JDeveloper 2 Oracle JDeveloper :... 2... 4... 4... 4... 5... 6 SQL... 7... 8... 8 SQL... 10 PL/SQL... 11 PL/SQL... 11 Code Editor PL/SQL... 12 Navigator Structure...

More information

5 p Point int Java p Point Point p; p = new Point(); Point instance, p Point int 2 Point Point p = new Point(); p.x = 1; p.y = 2;

5 p Point int Java p Point Point p; p = new Point(); Point instance, p Point int 2 Point Point p = new Point(); p.x = 1; p.y = 2; 5 p.1 5 JPanel (toy example) 5.1 2 extends : Object java.lang.object extends... extends Object Point.java 1 public class Point { // public int x; public int y; Point x y 5.1.1, 5 p.2 5 5.2 Point int Java

More information

Java学習教材

Java学習教材 Java 2016/4/17 Java 1 Java1 : 280 : (2010/1/29) ISBN-10: 4798120987 ISBN-13: 978-4798120980 2010/1/29 1 Java 1 Java Java Java class FirstExample { public static void main(string[] args) { System.out.println("

More information

Oracle HTML DBのテンプレート・カスタマイズ

Oracle HTML DBのテンプレート・カスタマイズ Oracle HTML DB 2003 10 Oracle HTML DB... 3... 3... 5... 5 1:... 6 2:... 6 3: 2... 7... 8... 8... 8 CSS JavaScript... 10 HTML DB... 11... 11 Oracle HTML DB 2 Oracle Corporation Customizing Templates in

More information

インターネットマガジン2001年4月号―INTERNET magazine No.75

インターネットマガジン2001年4月号―INTERNET magazine No.75 i illustration : Hada Eiji 206 INTERNET magazine 2001/4 jdc.sun.co.jp/wireless/ www.nttdocomo.co.jp/mc-user/i/java/ www.zentek.com/i-jae/ja/download.html INTERNET magazine 2001/4 207 Jump 01 Jump 02 Jump

More information

JavaプログラミングⅠ

JavaプログラミングⅠ Java プログラミング Ⅰ 3 回目変数 今日の講義で学ぶ内容 変数とは 変数の使い方 キーボード入力の仕方 変 数 変 数 一時的に値を記憶させておく機能です 変数は 型 ( データ型ともいいます ) と識別子をもちます 2 型 変数に記憶できる値の種類です型は 値の種類に応じて次の 8 種類があり これを基本型といいます 基本型値の種類値の範囲または例 boolean 真偽値 true または

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

BC4J...4 BC4J Association JSP BC4J JSP OC4J

BC4J...4 BC4J Association JSP BC4J JSP OC4J lê~åäévá=gaéîéäçééê= 9.0.3/9.0.4 BC4J Creation Date: Oct 08, 2003 Last Update: Feb 27, 2004 Version 1.0 ...3... 3 BC4J...4 BC4J...4... 4... 5... 6...7... 8... 9 Association... 13... 15... 20... 22... 25

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

ALG ppt

ALG ppt 2012614 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html 1 2 2 3 29 20 32 14 24 30 48 7 19 21 31 4 N O(log N) 29 O(N) 20 32 14 24 30 48 7 19 21 31 5

More information

GIMP import javafx.application.application; import javafx.scene.scene; import javafx.scene.canvas.canvas; import javafx.scene.canvas.graphicscontext;

GIMP import javafx.application.application; import javafx.scene.scene; import javafx.scene.canvas.canvas; import javafx.scene.canvas.graphicscontext; (JavaFX ) JavaFX 2 1. 2 2. 52 3. A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3, 2 4. 13 5. 6. 7. 8. 9. 13 10. 11. 12. Java.gif 1 GIMP import javafx.application.application; import javafx.scene.scene; import javafx.scene.canvas.canvas;

More information

CAC

CAC VOL.24NO.1 61 IMS Transaction 3270 DataBase Transaction OS/370 IMS Traditional Transaction Web Browser Transaction Internet WWW AP IIS APache WebLogic Websphere DataBase Oracle DB2 SQL Server Web Browser

More information

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value =

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value = Part2-1-3 Java (*) (*).class Java public static final 1 class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value

More information

Oracle Lite Tutorial

Oracle Lite Tutorial GrapeCity -.NET with GrapeCity - SPREAD Creation Date: Nov. 30, 2005 Last Update: Nov. 30, 2005 Version: 1.0 Document Control Internal Use Only Author Hiroshi Ota Change Logs Date Author Version Change

More information

r02.dvi

r02.dvi 172 2017.7.16 1 1.1? X A B A X B ( )? IBMPL/I FACOM PL1 ( ) X ( ) 1.2 1 2-0 ( ) ( ) ( ) (12) ( ) (112) (131) 281 26 1 (syntax) (semantics) ( ) 2 2.1 BNF BNF(Backus Normal Form) Joun Backus (grammer) English

More information

ohp02.dvi

ohp02.dvi 172 2017.7.16 1 ? X A B A X B ( )? IBMPL/I FACOM PL1 ( ) X 2 ( ) 3 2-0 ( ) ( ) ( ) (12) ( ) (112) 31) 281 26 1 4 (syntax) (semantics) ( ) 5 BNF BNF(Backus Normal Form) Joun Backus (grammer) English grammer

More information

Oracle Secure Enterprise Search 10gを使用したセキュアな検索

Oracle Secure Enterprise Search 10gを使用したセキュアな検索 Oracle Secure Enterprise Search 10g 2006 3 Oracle Secure Enterprise Search 10g... 3... 3... 3... 4 Oracle Internet Directory... 4 Microsoft Active Directory... 5... 5 1... 5 2... 6 3 ACL... 6 4 ACL...

More information

問題1 以下に示すプログラムは、次の処理をするプログラムである

問題1 以下に示すプログラムは、次の処理をするプログラムである 問題 1 次に示すプログラムは 配列 a の値を乱数で設定し 配列 a の値が 333 より大きく 667 以下の値 の合計値を求めるプログラムである 1 と 2 に適切なコードを記述してプログラムを完 成させよ class TotalNumber { public static void main(string[] args) { int[] a = new int[1000]; // 1 解答条件

More information

AJAXを使用した高い対話性を誇るポートレットの構築

AJAXを使用した高い対話性を誇るポートレットの構築 Oracle Application Server Portal テクニカル ノート AJAX 2006 7 概要 Web Web Web UI Web Web Web Web Ajax Asynchronous JavaScript and XML Ajax Ajax 1 API JSR 168 Web Java JSR 168 JavaScript AJAX: 画面の背後にあるテクノロジ Web

More information

1: Preference Display 1 package sample. pref ; 2 3 import android. app. Activity ; 4 import android. content. Intent ; 5 import android. content. Shar

1: Preference Display 1 package sample. pref ; 2 3 import android. app. Activity ; 4 import android. content. Intent ; 5 import android. content. Shar Android 2 1 (Activity) (layout strings.xml) XML Activity (Intent manifest) Android Eclipse XML Preference, DataBase, File 3 2 Preference Preference Preference URL:[http://www.aichi-pu.ac.jp/ist/lab/yamamoto/android/android-tutorial/tutorial02/tutorial02.pdf]

More information

Microsoft Word - J-migratingjdevelope#110A7A.doc

Microsoft Word - J-migratingjdevelope#110A7A.doc JDeveloper 10.1.3 2005 2 JDeveloper 10.1.3... 3 JDeveloper 10.1.2... 3... 3... 4 10.1.2... 4 JDeveloper 10.1.3... 5... 5... 5 10.1.3... 5 JDeveloper... 5... 6... 7... 8... 9... 9... 11... 11... 11 JDeveloper

More information

Warehouse Builderにおける予測分析の使用

Warehouse Builderにおける予測分析の使用 Warehouse Builder Oracle 2006 3 Warehouse Builder... 3 ETL... 4 DMBS_PREDICTIVE_ANALYTICS... 4... 5 1... 5 2... 5 3... 5... 6 SQL PREDICT... 7... 9 1... 9 2... 9 3... 9... 10 PL/SQL... 11... 12... 12...

More information

Thread

Thread 14 2013 7 16 14.1....................................... 14 1 14.2 Thread................................... 14 1 14.3............................. 14 5 14.4....................................... 14 10

More information

Javaセキュアコーディングセミナー2013東京第1回 演習の解説

Javaセキュアコーディングセミナー2013東京第1回 演習の解説 Java セキュアコーディングセミナー東京 第 1 回オブジェクトの生成とセキュリティ 演習の解説 2012 年 9 月 9 日 ( 日 ) JPCERT コーディネーションセンター脆弱性解析チーム戸田洋三 1 演習 [1] 2 演習 [1] class Dog { public static void bark() { System.out.print("woof"); class Bulldog

More information

文字列操作と正規表現

文字列操作と正規表現 文字列操作と正規表現 オブジェクト指向プログラミング特論 2018 年度只木進一 : 工学系研究科 2 文字列と文字列クラス 0 個以上の長さの文字の列 Java では String クラス 操作 文字列を作る 連結する 文字列中に文字列を探す 文字列中の文字列を置き換える 部分文字列を得る 3 String クラス 文字列を保持するクラス 文字列は定数であることに注意 比較に注意 == : オブジェクトとしての同等性

More information

3 p.1 3 Java Java Java try catch C Java if for while C 3.1 boolean Java if C if ( ) 1 if ( ) 1 else , 2 { } boolean true false 2 boolean Gr

3 p.1 3 Java Java Java try catch C Java if for while C 3.1 boolean Java if C if ( ) 1 if ( ) 1 else , 2 { } boolean true false 2 boolean Gr 3 p.1 3 Java Java Java try catch C Java if for while C 3.1 boolean Java if C if ( ) 1 if ( ) 1 else 2 1 1 2 2 1, 2 { boolean true false 2 boolean Graphics draw3drect fill3drect C int C OK while (1)...

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

(Microsoft PowerPoint - \223\306\217KJAVA\221\346\202R\224\ ppt)

(Microsoft PowerPoint - \223\306\217KJAVA\221\346\202R\224\ ppt) 独習 JAVA 第 3 版 8.4 例外とエラークラス 8.5 throws ステートメント 8.6 独自の例外 Throwable コンストラクタ catch ブロックには Throwable 型のパラメータが必ず 1 つなければならない Throwable コンストラクタ Throwable() Throwable( String message ) message には問題を通知する文字列のメッセージ

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

presen.gby

presen.gby kazu@iij.ad.jp 1 2 Paul Graham 3 Andrew Hunt and David Thomas 4 5 Java 6 Java Java Java 3 7 Haskell Scala Scala 8 9 Java Java Dean Wampler AWT ActionListener public interface ActionListener extends EventListener

More information

JAVA 11.4 PrintWriter 11.5

JAVA 11.4 PrintWriter 11.5 JAVA 11.4 PrintWriter 11.5 PrintWriter Writer Int, float, char Object print() println() tostring() PrintWriter PrintWriter(OutputStream outputstream) PrintWriter(OutputStream outputstream, boolean flushonnewline)

More information

NPCA部誌2018

NPCA部誌2018 6 6.1 74 Mineraft 6.2 & 74 72 NPCA (Mod ) 1.11.2 6.3 Firefox ( Firefox ) Firefox Web Firefox Atom ( ) 59 6.4 6.4 DL Eclipce Eclipce ( ) OK Windows10 3000... 6.5 java FirstPlugin java FirstPlugin Java jar

More information

今回の内容 グラフとオブジェクト指向プログラミング Java を使う理由 Java の基本 Javaのライブラリ 開発 実行 クラスの再利用 クラス継承 抽象クラス 開発の要点

今回の内容 グラフとオブジェクト指向プログラミング Java を使う理由 Java の基本 Javaのライブラリ 開発 実行 クラスの再利用 クラス継承 抽象クラス 開発の要点 JAVA 入門 今回の内容 グラフとオブジェクト指向プログラミング Java を使う理由 Java の基本 Javaのライブラリ 開発 実行 クラスの再利用 クラス継承 抽象クラス 開発の要点 グラフを記述するには 頂点 (Vertex) と弧 (Arc) その間の関係 素直にデータ構造として表現したい グラフは 頂点と弧の集合 弧から始点と終点を得る 頂点から その頂点を始点とする弧の集合を得る

More information

問 次の Fortran プログラムの説明及びプログラムを読んで、設問に答えよ。

問 次の Fortran プログラムの説明及びプログラムを読んで、設問に答えよ。 解答例 問題 1 変数 a が 3 以上でかつ 7 以下の場合 true と表示し そうでない場合は false と表示するプログラムである public class Prog061004_01 { int a; boolean b; a = Integer.parseInt(buf.readLine()); b = (a >= 3) && (a

More information