IT Guy

IT、AI / Machine Learning、IoT、Project Management、プログラミング、ITIL等々

グローバルSIMカードメーカー

日本

  • 大日本印刷(DNP)
  • 東芝

EMEA

APAC

日本主要キャリアのSIM製造元

NTT Docomo
  • DNP
  • Gemalto
  • G&D
  • Toshiba
au
  • Gemalto
  • DNP
  • Toshiba
  • G&D
Softbank
  • Gemalto
  • G&D
E-Mobile
  • Gemalto
  • DNP
  • Oberthur
IIJmio
  • DNP
  • Gemalto
SIMカード製造メーカーの略称

SIMカードに記載されているコードの最初の2文字略語 - DNP : DN - Gemalto : AX, GE (旧ジェムプラス) - Toshiba : TS

リンク

Berkeley DB基本用語

リンク

BDB基本用語(Terminology)

基本用語

  • database environment : RDBMSのdatabaseに該当。BDBでは、environmentは複数のdatabase(RDBMSのtable)を連携させたり、複数スレッド(プロセス)からトランザクションを同時(concurrently)に操作する際必要になる。
  • database : RDBMSのtableに該当

SQL - Berkeley DB API

  1. SELECT : get
  2. INSERT : put
  3. UPDATE : put
  4. DELETE : del

Access method

  • Btree :
  • Hash :
  • Queue :
  • Recno :

展示会 - Japan IT Week春 2018

オフィシャルサイト

www.japan-it.jp

展示会

  • ソフトウェア&アプリ開発展
  • ビッグデータ活用展
  • 組込みシステム開発技術展
  • データストレージEXPO
  • 情報セキュリティEXPO
  • Web&デジタル マーケティング EXPO
  • データセンター展
  • クラウド コンピューティングEXPO
  • モバイル活用展
  • IoT/M2M展
  • 通販ソリューション展
  • 店舗ITソリューション展
  • AI・業務自動化展

出展者一覧

Java ME Platformの基本

Java MEアーキテクチャーの基本形

基本形は3つのレイヤーで構成 : Configuration – Profile - Package

f:id:blog-guy:20180426144850p:plain

主要MEパターン

大きく分けて、CLDCかCDC。

  • Connected Limited Device Configuration (CLDC)
    CLDC is aimed at the low end of the consumer electronics range. A typical CLDC platform is a cell phone or PDA with around 512 KB of available memory. For this reason, CLDC is closely associated with wireless Java, which is concerned with allowing cell phone users to purchase and download small Java applications known as MIDlets to their handsets.

  • Connected Device Configuration (CDC)
    CDC addresses the needs of devices that lie between those addressed by CLDC and the full desktop systems running J2SE. These devices have more memory (typically 2 MB or more) and more capable processors, and they can, therefore, support a much more complete Java software environment. CDC might be found on high-end PDAs and in smart phones, web telephones, residential gateways, and set-top boxes.

CLDC + MIDP

昔のガラケ向けMEパターンはこれ。 f:id:blog-guy:20180426145059p:plain

CDC

ディジタルメディアデバイス向けの基本パターン。 f:id:blog-guy:20180426145151p:plain

CLDC + IMP-NG

通信モジュール(モデム等)向けの基本パターン f:id:blog-guy:20180426145308p:plain

BD-J (Blu-ray Disc Java)

Blu-ray向け基本パターン f:id:blog-guy:20180426150424p:plain

Link : Blu-ray Disc Application Development with Java ME, Part 1

用語

  • CLDC : Connected Limited Device Configuration
  • CDC : Connected Device Configuration
  • MIDP : Mobile Information Device Profile
  • IMP-NG : Information Module Profile-Next Generation
  • FP : Foundation Profile
  • PBP : Personal Basis Profile
  • HAVi : Home Audio Video Interoperability

洋書 - Beginning Java ME Platform

Beginning Java  ME Platform (Beginning From Novice to Professional)

Beginning Java ME Platform (Beginning From Novice to Professional)

今更、Java MEで新たな開発はほとんどないが、既存でJava MEを使ってる場合の理解のため。

Table of Contents

Part1. Getting Started

Ch1. Mapping the Java Jungle
Ch2. Shrinking Java to Fit
Ch3. Getting Started with the NetBeans IDE

Part2. CLDC Development with MIDP

Ch4. Introducing MIDlets
Ch5. Building User Interfaces
Ch6. Storing Data Using the Record Store
Ch7. Accessing Files and Other Data
Ch8. Using the Java Mobile Game API

Part3. CDC Development

Ch9. Introducing Xlets and the Personal Basis Profile
Ch10. Introducing Applets and the Advanced Graphics and User Interface
Ch11. Using Remote Method Invocation

Part4. Communicating with the Rest of the World

Ch12. Accessing Remote Data on the Network
Ch13. Accessing Web Services
Ch14. Messaging with the Wireless Messaging API

Part5. Other Java ME Interfaces

Ch15. Securing Java ME Applications
Ch16. Rendering Multimedia Content
Ch17. Finding Your Way
Ch18. Seeking a Common Platform

Berkeley DBインストール・サンプル実行

基本情報

  • Berkeley DB Version : Berkeley DB 12cR1 (12.1.6.2.32)
  • Download file : Berkeley DB 6.2.32.tar.gz
  • OS : AWS EC2 (Amazon AMI)

リンク

インストール手順

Download / 配置

  • tar.gzをダウンロードし、解凍。

f:id:blog-guy:20180424145904p:plain

configure, build, install

  • build_unixフォルダーへ移動し、下記を実行
    今回はインストールフォルダーは/home/ec2-user/bdb/install、--enable-cxxにより、C++から呼び出せるようにする。
$ ../dist/configure --prefix=/home/ec2-user/bdb/install --enable-cxx
$ make
$ make install
  • もし間違った場合は以下のように掃除

    • configureからやり直し : make realclean
    • makeからやり直し : make clean
    • uninstall : make uninstall
  • 尚、make install時のこのメッセージは注意

Libraries have been installed in:
   /home/ec2-user/bdb/install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

インスール後

f:id:blog-guy:20180424150733p:plainf:id:blog-guy:20180424150735p:plain

サンプル実行

サンプルコードの場所

Cのサンプルコードは、ダウンロードしたソースコードの中のexamples/c/getting_started以下にある。

f:id:blog-guy:20180424151450p:plain

サンプルコードのコンパイル

# compile / link example_database_read.c
gcc -c -I/home/ec2-user/bdb/install/include -L/home/ec2-user/bdb/install/lib gettingstarted_common.c ex
ample_database_read.c

gcc example_database_read.o gettingstarted_common.o -I/home/ec2-user/bdb/install/include -L/home/ec2-us
er/bdb/install/lib -ldb-6.2 -o example_database_read

# compile / link example_database_load
gcc -c -I/home/ec2-user/bdb/install/include -L/home/ec2-user/bdb/install/lib gettingstarted_common.c ex
ample_database_load.c

gcc example_database_load.o gettingstarted_common.o -I/home/ec2-user/bdb/install/include -L/home/ec2-us
er/bdb/install/lib -ldb-6.2 -o example_database_load

実行

  • LD_LIBRARY_PATHでlibフォルダーを指定
$ export LD_LIBRARY_PATH=/home/ec2-user/bdb/install/lib:$LD_LIBRARY_PATH
  • example_database_loadを実行
$ ./example_database_load
databases opened successfully
databases closed.
Done loading databases.
  • example_database_readを実行
$ ./example_database_read
databases opened successfully
name: Allspice
        SKU: AllsfruibJGK4R
        Category: fruits
        Price: 0.94
        Quantity: 669
        Vendor:
                TriCounty Produce
                309 S. Main Street
                Middle Town, MN
                55432

                763 555 5761

                Contact: Mort Dufresne
                763 555 5765

......

name: Zulu Nut
        SKU: ZulufruiWbz6vU
        Category: fruits
        Price: 0.71
        Quantity: 653
        Vendor:
                Simply Fresh
                15612 Bogart Lane
                Harrigan, WI
                53704

                420 333 3912

                Contact: Cheryl Swedberg
                420 333 3952
databases closed.