server

  1. avalle

    B4J Question [Server] Wait For a SQLite data to change

    Hi, I understand how to use Wait For in a B4J Server Handler. However I have no idea how to pause a server handler class waiting for some data in a SQLite database to change. Anyone so kind to help? Thanks Andrea
  2. 3

    Italian connessione jdbc con host

    buongiorno a tutti, è da un po che tento di collegarmi al mio sqlserver ma non riesco in nessun modo. Public mysql As JdbcSQL Private driver As String = "com.mysql.jdbc.Driver" 'Private jdbcUrl As String = "jdbc:mysql://192.168.0.2:1433/SQLTutorial" Private jdbcUrl As String =...
  3. peacemaker

    Android Question Android server: battery state after uptime of month, 6 months, year

    Hi, All Who tried to use an Android device as the server that has been powered up during several months, or maybe year ? How is the battery state if such usage ? I think, now embedded control systems can be build basing on an Android device (also as server) + wired Ethernet LAN hosts of...
  4. 3

    Italian connessione a db sqlserver su server aziendale

    Buonasera, vorrei col mio telefonino creare un app che mi permetta di farel' update di dati che ho su un database aziendale. Di solito su VB.net usavo laconnessione OLEDB o SQLclient esiste qualcosa di simile? Quindi una volta aperta la connessione fare le query, le update ecc in sql. Ho...
  5. walterf25

    B4J Question MQTT accessed from outside

    Hi All, i'm working on a project which requires a device to send data over to a PC. I came across the MQTT library and I thought I would give it a try, i'm really amazed at how simple it is to set this up, whether running the MQTT Broker on a local P.C. or using one of the cloud host servers...
  6. L

    iOS Question B4i-Bridge installation on device

    I have lost 3 days attempting at installing the B4i-Bridge on the actual device and I am about to give up. My system is a MacBook Pro 2018 with 16 GB ram, B4i v4.30 installed on Windows 10 Enterprise running under Parallels Desktop 14.10, Build Server v4.30 installed on Mac side and attached to...
  7. N

    B4J Question JRDC2 Question

    Hi All, I'm trying to add the file download handler to JRDC2: with this code on linux server: 'Handler class Sub Class_Globals End Sub Public Sub Initialize End Sub Sub Handle(req As ServletRequest, resp As ServletResponse) Dim out As OutputStream Dim name As String =...
  8. avalle

    B4J Question Webhook service support

    Hi, I would like to add webhook support to one of my B4J Server application. I've not found anything about services, only client side. Does anyone has an idea or piece of code to start from? Can I achieve that with regular server code, or should I look at additional components? Many thanks in...
  9. MarkusR

    B4J Question authentication identity check at server?

    I try to use this solution with ssl: [Server] Data Collection Solution - Device, Desktop and Web reports https://www.b4x.com/android/forum/threads/server-data-collection-solution-device-desktop-and-web-reports.37254/#content In the DataCollectionDesktop App i will use Username & Password...
  10. MarkusR

    Android Question Server App with Network & TCP Socket + SSL

    hello, how to make this example b4j network here work with ssl? https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/ i set the server into listen after a button click. if me click connect from "client" the server show a connect but the client stay in status...
  11. MarkusR

    B4J Question [solved] B4J Server at Home with SSL (Jetty)

    hello, i have a problem to get data if me used a http(s) server. it not response if me test local at same pc or from web. if me use port 80 with without ssl config it works fine local and extern. in firefox i got a message selfsigned cert if not ok but i clicked ok for allow then nothing...
  12. kokoroayo

    B4J Question Server with automated messaging

    Hi all, I need help on this one please. I have an old VB6 application that runs well for my client. It includes an auto reminder for their clients to keep appointments. Appointment reminders are sent via web based bulk SMS service. For this to happen, i created a small app on the server: 1.. All...
  13. avalle

    B4J Question Read an HTML form data array

    Hi I need to read an array of parameters from the payload of an HTML form that is POST-ed to my B4J server. I normally use Dim mydata As String = req.GetParameter("mydata") to read a single parameter "mydata". My payload also contains multiple parameters like...
  14. Alexander Stolte

    B4J Question [Server] AddDoSFilter for jrdc2 for a special query

    Hello, i want to set a DosFilter for a special path for example i want to restrict the maxium Request Per Seconds for the login query to prevent brute force attacks. is it possible?
  15. LucaMs

    B4J Question [solved] org.eclipse.jetty.websocket.api.MessageTooLargeException

    I get this error on server side (b4j). I searched the forum but I found solutions only for client websockets. BTW I don't know how the websocket is created on server side, it is "received from somewhere" in the websocket handler class; although it seems strange to me, is it possible that the...
  16. LucaMs

    Android Question [solved] WSS - Trust anchor for certification path not found.

    I have a b4j websocket server certainly reachable from outside my network (I mean that I don't have problems with ports, firewalls, ...). I created the keystore as decribed in this tutorial (more precisely as described in wiki.eclipse... linked in that tutorial) and I get that error message...
  17. Alexander Stolte

    B4J Question How to Open my App over a link over my B4J Server

    Hello, on B4A side i know it from here. But as long as I do not have a website that can show this, I want the app to run without the browser opening. From Stackoverflow, from this post, i know it is possible. How can i handle this with my B4J Server?
  18. Alexander Stolte

    B4J Tutorial Firebase Service (Server) Example

    Hey, this is an example/tutorial of a Server that manages Firebase Subscribtions, Unsubscribtions and SendMessages2Topics with the Power of B4J Server! The advantage is, requests are processed very quickly (barely waiting period), I do not have to start a script, save resources of the VPS or...
  19. avalle

    B4J Question [Server] How to disable directory listing?

    I am implementing a server application and I want to suppress the directory listing that Jetty returns by default when browsing to any folder inside the server's www folder that doesn't include an index.html file. I searched the forums but haven't found any suggestion. Is it possible and how...
  20. avalle

    B4J Question OAuth2 Authorization Server in B4J

    I need to implement an OAuth2 Authorization Server in B4J but I only seem to find threads on client implementations (e.g. B4J which authenticate to public OAuth services like Google or Facebook). Is there anyone who has done or tried this already and want to share some ideas, starting points...
Top