with reference to this thread:
www.b4x.com
i see there's and AddHandler sub that, as second parameter, has an object Class name.
the Server object, later will create an object much like
where the Class of runtimeobject will be the one specified as parameter of AddHandler.
i'm developing a cross-platform app (Android/iOS) that would benefit from using the same method: defining a variable number of objects at runtime from a Class not statically defined at compile time.
if there a way to get this working on B4A and B4i?
[Server] Building web servers with B4J
Edit: Web Apps tutorial: http://www.b4x.com/android/forum/threads/webapp-web-apps-overview.39811/ The server implementation is based on a popular and powerful Java server library named Jetty (license) The database connection pooling implementation is based on c3p0 (license). B4J Server...

B4X:
AddHandler("/hello", "HelloPage", False)
B4X:
Dim runtimeobject as HelloPage
i'm developing a cross-platform app (Android/iOS) that would benefit from using the same method: defining a variable number of objects at runtime from a Class not statically defined at compile time.
if there a way to get this working on B4A and B4i?