B4J Question How to create a web application?

amorosik

Expert
Licensed User
Okay, starting from the first examples of web apps published by Erel, and going through the systems created by Mashiane, Alwaysbusy, Aeric, Ilan, and all the other super-coders of the forum, wanting to start a new project that has to do essentially with texts and numbers, and therefore without strange or moving graphics, and especially taking into account the fact that the debugging of the system can be maintained on the server side in the same way as a debugging of a desktop application, which systems/libraries would you recommend to use to create with B4J the project to be used via web browser?

I ask this because I see that there are many different possibilities, and the difficulty for a neophyte is precisely in trying to understand which system could be the most suitable for the problem he wants to solve I mean, if there were 'the standard way' perhaps it would be easier to start studying and experimenting by following that path

But since there are different systems, and I seem to understand each one with its own peculiarities, it would be necessary to study them all in depth to be able to understand which is the best for your needs
And so, wanting to use B4J to create a web server to allow the use of the classic business management system in connection with the classic db servers (MySql, Sql Server, Postgresql, ...) via browser, which path should we follow?
 

peacemaker

Expert
Licensed User
Longtime User
Choose the idea of the app and, as usual, start googling and b4j-searching and start building your app.
Any unclear or error - go googling again :), each term regarding the protocols, ports, requests, HTML, JS, CSS, API, JSON, WebSockets, network databases (with working via network), SQL, hosting, VDS, Linux setup, Apache, Nginx.....
 
Upvote 0

amorosik

Expert
Licensed User
Choose the idea of the app and, as usual, start googling and b4j-searching and start building your app.
Any unclear or error - go googling again :), each term regarding the protocols, ports, requests, HTML, JS, CSS, API, JSON, WebSockets, network databases (with working via network), SQL, hosting, VDS, Linux setup, Apache, Nginx.....

Yes, this is a good hypothesis
But it would require much more time than if we could exploit the experience of those who have already tried several different paths and know well which is the best to reach a certain objective
I understand that 'a certain objective' can be different for each of us
And for this reason I have limited the functionalities to the classic ones of a business management system
And therefore essentially:
- 'see' grids corresponding to tables or queries on a db server
- insert new records, delete or modify existing records
- start prints containing labels and data taken from the underlying db
 
Upvote 0

MichalK73

Well-Known Member
Licensed User
Longtime User
Look at this:


 
Upvote 0

vmag

Active Member
If this thread had the right title - how to create a web server, instead of how to create an application, I would not have come here...
 
Upvote 0

amorosik

Expert
Licensed User
Let me understand, you decide (the title of the 3d) what I would like to know (how to realize a web app)?
The title of the 3d is already right as it is now
 
Upvote 0

Quandalle

Member
Licensed User
Make a fairly precise description of your application. For example:

"Write an HTLM application using B4J that allows you to​
1) Display tables resulting from SQLITE queries​
2) Add, modify or delete records​
3) Print labels and data from SQL queries"​

Connect to an AI, for example: DeepSeek (web search mode, and Deepthink activated), or Claude or chatGpt if you have a subscription.

Run the query on the AI and admire the result: it will generate the B4J code, the HTML code, the javascript and the css.

Adjust the AI prompt if necessary. This will be a good start
 
Upvote 0
Top