🌐 DOTWEB(OJ7) Samples
📖 Sample A: Introduction
Why Java/J2EE is not a secure programming language
Difference between Java (JDK 1.8) and DotWeb5 (OJ7)
Overview of DotWeb5 (OJ7) Divisions and FAQs
🔹 DotWeb5 (OJ7) Divisions
DotWeb5 (OJ7) is organized into six divisions:
Scroll Server with DotWeb5 (OJ7)
Supports .web and .ojava7 formats.
Scroll Server with Java/J2EE and JDK 1.8 Compiler
DotWeb5 compiler is not used here.
JDK 1.8 is required because frameworks like Hibernate, MyBatis, Java Spring, and EJB are written in JDK 1.8.
Limitations: JSP and Servlets do not work in Scroll Server, but EJB and JMS are supported.
Scroll Server with .java7 using DotWeb5 (OJ7) Compiler
Machine Learning and Data Science
Supported through user-friendly frameworks (OJ7UA).
Advanced Samples
Includes .web and DotWeb5 (OJ7) console applications.
Remote-X Application (Advanced)
Not yet released.
❓ Doubtful FAQs
Can DotWeb5 (OJ7) compiler work with JDK 1.8 and Java/J2EE frameworks?
No.
Can DotWeb5 (OJ7) compile JDK 1.8 programs?
No, it does not accept JDK 1.8 or later versions.
Is DotWeb5 (OJ7) a competitor to Java/J2EE?
No, its business model is entirely different from Oracle’s.
Can DotWeb5 (OJ7) work as a standalone application?
Yes, it functions independently of Java/J2EE.
Is DotWeb5 (OJ7) a secure programming language?
Yes, it is designed with high security in mind.
The Differences Between Java(JDK 1.8) or Java latest version and DotWeb5(OJ7) are given below...
⚠️ Demerits of Java/J2EE Programming Language
🔒 Why Java/J2EE Is Not Secure
Java programs are compiled into .class files. These files can be easily decompiled using tools such as JAD Decompiler, which converts compiled bytecode back into readable source code. As a result, sensitive information such as database connections and business logic becomes exposed, leading to a complete failure of security across Java JDK 1.8 and other versions.
📂 Example: MySQL Program in Java
import java.sql.*;
class MysqlCon{
public static void main(String args[]){
try{
Class.forName("com.mysql.jdbc.Driver");
Connection con=DriverManager.getConnection(
"jdbc:mysql://localhost:3306/wil","root","Dove12345");
//here sonoo is database name, root is username and password
Statement stmt=con.createStatement();
ResultSet rs=stmt.executeQuery("select * from emp");
while(rs.next())
System.out.println(rs.getInt(1)+" "+rs.getString(2)+" "+rs.getString(3));
con.close();
}catch(Exception e){ System.out.println(e);}
}
}
🔓 Decompiled Output (via JAD)
MysqlCon.jad
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: MysqlCon.java
import java.io.PrintStream;
import java.sql.*;
class MysqlCon
{
MysqlCon()
{
}
public static void main(String args[])
{
try
{
Class.forName("com.mysql.jdbc.Driver");
Connection connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/wil", "root", "Dove12345");
Statement statement = connection.createStatement();
for(ResultSet resultset = statement.executeQuery("select * from emp"); resultset.next(); System.out.println((new StringBuilder()).append(resultset.getInt(1)).append(" ").append(resultset.getString(2)).append(" ").append(resultset.getString(3)).toString()));
connection.close();
}
catch(Exception exception)
{
System.out.println(exception);
}
}
}
🚨 Security Implications
All database connections and business logic are visible to hackers.
Writing Java programs becomes risky, as attackers can easily steal data.
Vulnerabilities extend across EJB, Servlet, JSP, and JMS frameworks.
This is why Java/J2EE is considered weak in security.
🌟 Emergence of DotWeb5 (OJ7)
To address these shortcomings, a new interactive, secure, and advanced programming language was introduced: DotWeb5 (OJ7).
Created in DotWeb3.0 and Java JDK 1.6 by Wilmix Jemin J.
Designed to be highly secure, user-friendly, and cost-effective.
Supports advanced features like obfuscation, shortest function statements, and WNOSQL database integration.
🔤 Expansion of DotWeb5 (OJ7)
Dot→ stands for versatile and music.
W → Wilmix (Inventor)
E → Electronic (technology, business, internet: e-commerce, e-mail, e-learning)
B → Contextual meanings (brother, base, born, etc.)
5 → Adventure, linked to Remote-X Application
0 → Represents additional features in DotWeb5.0
O → Olive
J → Jemin
7 → Completeness, perfection, spirituality, and pursuit of knowledge
✅ Key Takeaway
Developers must understand the difference between DotWeb5 (OJ7) and JDK 1.8 to fully appreciate the security, efficiency, and advanced capabilities offered by DotWeb5 (OJ7).
✨ This redesigned version is now clear, professional, and visually appealing. It highlights the security flaws of Java/J2EE while presenting DotWeb5 (OJ7) as a modern, secure alternative.
📘 SAMPLE‑17: Performing an Autocomplete Operation
🔹 Overview
This sample demonstrates how to perform an autocomplete operation using DotWeb5 (OJ7) in combination with HTML and jQuery.
🖥️ DotWeb5 (OJ7) Program
<WEB> //start of DotWeb5(OJ7) program
<PACK> Program12 // create namespace as Program12 so that we can use this namespace as a library in
//another DotWeb5(OJ7) program
{
<CLASS> Prog // <CLASS> represents class
{
public void main() // C type main
{
HTML.displayhtml("autocomplete1.html"); // now your declare HTML.displayhtml //to load autocomplete1.html
<PRINTLN>("[");
<PRINTLN>("'JWEB(JDollar)',");
<PRINTLN>("'DOTWEB',");
<PRINTLN>("'DotWeb5(OJ7)',");
<PRINTLN>("'PHP',");
<PRINTLN>("'Rust',");
<PRINTLN>("'C',");
<PRINTLN>("'DOTNET',");
<PRINTLN>("'JAVA',");
<PRINTLN>("'GO',");
<PRINTLN>("'Angularjs',");
<PRINTLN>("'Android',");
<PRINTLN>("'Bootstrap.js',");
<PRINTLN>("'JavaScript'");
<PRINTLN>("]");
// add the data values
HTML.displayhtml("autocomplete2.html");// now you declare HTML.displayhtml to load autocomplete2.html
}
}
}
🌐 HTML File (autocomplete2.html)
Autocomplete Example
autocomplete2.html
;
$( "#tags" ).autocomplete({
source: availableTags
});
} );
</script>
</head>
<body>
<div class="ui-widget">
<label for="tags">Tags: </label>
<input id="tags">
</div>
</body>
</html>
Tags:
📥 Input
A list of programming languages is added to the list box.
📤 Output
When you type a letter (e.g., P), the autocomplete will suggest PHP.
📝 Note
On Google Sites, the alignment of images may not appear correctly.
Do not worry — screenshots will be properly displayed in the DotWeb5 (OJ7) E‑Book.