Tags » Java 2

Using NATIVE-MAVEN-PLUGIN

Using native-maven-plugin for compiling the JNI components.

Source code for this project @ https://github.com/thebagchi/JNI-PROJECT

1. Project Directory Structure.

jni-project
|---- src
      |---- main
            |---- java
                  |---- com
                        |---- example
                              |---- JniWrapper.java
                              |---- Application.java
            |---- native
                  |---- include
                        |---- <autogenerated header file>
                  |---- src
                        |---- jni.c
|---- pom.xml
|---- generate-header.bat
|---- generate-header.sh
… 1,039 more words
C Programming

@lob menghasilkan longtext mysql

Ternyata @lob menghasilkan longtext pada mysql

Bismillah

Test coding ini :)

private static final long serialVersionUID = 1L;
@Id @GeneratedValue(generator = "uuid")
@GenericGenerator(name = "uuid", strategy = "uuid2")
@Column(length=64)
private String id;

@Lob
private String teks;

private String pilihanA;

private String pilihanB;

private String pilihanC;

private String pilihanD;

private String pilihanE;
@Column(length=1)
private String jawaban;
@Column(length=25)
private String tipe;
11 more words
Java

how test a kotlin class?

TDD is a modern software development process based on creation of automatic test before write code, so modern programming can’t be called in this way without test the software. 194 more words

Development

Kotlin exercise 1: Connect to MongoDB -part 2-

In the first part of this exercise we have seen how connect to a MongoDb with Java. Now that is clear how the connection can be performed, we can try to do the same with Kotlin. 252 more words

Development

Java SE7 Features

-Binary literals, (using prefix 0b or oB)
-Underscores in numeric literals
-string in switch statements
-type inference for Generic instance creation
Map<String, List<String>> myMap = new HashMap<String, List<String>>(); 98 more words

Kotlin exercise 1: Connect to MongoDB -part 1-

After the firts posts on Kotlin, i want to creating something more difficult. And i chose to try a database connection in Kotlin.

In this exercise i chose to connect my little application to a Mongo database. 255 more words

Development

Jar file Comparison with Beyond Compare

In this post we will know how to use Beyond Compare for Jar file comparisonĀ  41 more words

Java