B4J Tutorials

[WebApp] Example Task Manager using WebSockets & SQLite

This example is a simple Task Manager using HTML to access the server by the Client.
The tasks are stored in a SQLite database, which is managed by the B4J WebServer.
Read...
 

[WebApp] Custom Elements - DatePicker & Dialogs

The web app framework can be easily extended with new elements and new features.

In this example we use two elements from jQuery UI library...
 

Attachments

  • DatePicker.zip
    3.6 KB · Views: 1,202

[WebApp] Concurrent access to SQLite databases

SQLite databases are very easy to use as they don't require any additional software or configuration.

SQLite support for concurrent access is not comparable to server based databases such as...
 
Last edited:

[WebApp] Chatroom - Threads, Sessions and Server events

SS-2014-04-16_14.40.15.png


Online example: http://basic4ppc.com:51042/chat/index.html

This example demonstrates several important...
 

Attachments

  • Chatroom.zip
    6.8 KB · Views: 1,676
Last edited:

[WebApp][IoT] PiFace (Raspberry Pi) Server Example

SS-2014-04-17_10.51.25.png


This example demonstrates how a Raspberry Pi board can be controlled from the browser.

It tracks the switches state and...
 

Attachments

  • PiFaceServer.zip
    6 KB · Views: 1,320

[Server] SSL Connections

Starting from B4J v2.00 the server can listen to two ports, the standard insecure port (http) and a secure port (https).

The default port for http is 80 and for https is 443. These ports are used...
 
Last edited:

[WebApp] Quiz Example

[WebApp] (mini) Template Engine

WebUtils.ReplaceMap together with the CreateMap keyword are useful for building dynamic strings, especially for html output.

For example, in the chat example when a user writes a message we...
 

[WebApp] Example Team Manager using jQuery Mobile, WebSockets & SQLite

This OpenSource WebApp is based upon a request to manage team events from Android, iPhone, Windows and Linux (Raspberry) devices.
The solution is a B4J WebApp, using jQuery Mobile (jQM)...
 
Last edited:

jexcell and other librairies

How do I install the jexcell bookstore?
In fact I can not find it on the site.
 

B4LinuxInstall script to use B4X tools in linux

This is a Bash shell script that allows installing B4J and B4A in linux systems, along with their required dependencies. It is very functional. But for now only Ubuntu is fully...
 
Last edited:

Synchronize ListView Scrolling

Attachments

  • LVSyncClass.zip
    2.8 KB · Views: 535
  • LVSync-2.zip
    3.1 KB · Views: 501
Last edited:

(B4X) Creating LAMP server with b4x on Amazon EC2

LAMP: Linux Apache MySQL PHP

In this tutorial I will explain how to bring complete working server, on Amazon EC2 (you get 1 year free)

I am using this server for sending notification for iphone...
 

Styling buttons with CSS

PropertySheet

jControlsFX library v1.20 includes a control named PropertySheet. With this control it is very simple to create forms with many fields.

The data for these fields comes from a custom type...
 

Attachments

  • PropertySheetExample.zip
    2.2 KB · Views: 800
Last edited:

The FASTEST SQLite tables

Use Timelines to 'slide' listviews

Using timelines, it's possible for two (or more if you change code) listviews to occupy the same space on a form.
This demo will slide one listview, revealing the hidden listview. (A bit like...
 

Attachments

  • sliding listviews.zip
    1.9 KB · Views: 485

B4J HelloWorld(s) Examples

As a helper to get started with B4J, some classical HelloWorld type of apps.
B4J offers many solutions in the way an app(lication) can be developed.

Status: 20150502

Below examples...
 

Attachments

  • B4JHowToHelloWorlds.zip
    23.4 KB · Views: 1,470
Last edited:

In-line Java in multiple modules

I have been using the in-line java for ages and only just discovered that you do not have to put all the code in one module, as I was previously doing.
It can be placed in the module to which it...
 

Attachments

  • java code modules test.zip
    1.6 KB · Views: 453

B4J Server: Requesting and Installing SSL Certificate

I thought I would share how I requested and installed a SSL certificate for my B4J server.

In my case I used namecheap.com to purchase a $9 SSL certificate. I already had a domain name and a...
 
Last edited:
Top