HassanProgrammer
Member
Hello
I want to use b4j on vps for the first time.
I want to create a clip making program with b4a so that the user sends a series of information such as photos, text, etc. to the server and this information will be sent to b4j. In b4j and on the server, a series of changes may be made to the data, for example, the images will be compressed or their color will change.
I will run a bat file from b4j. That bat file executes an exe file and gives it parameters to create a video file. (Parameters will be the same information sent by the user)
That exe file will make a video based on the information given (depending on the amount of information this process can take from one minute to twenty minutes.)
Now the questions I have are:
1- If 10 users request to make a clip from the server at the same time, can b4j make all of them at the same time? That exe file can be executed ten times at a time ?! No data interruptions in b4j or that exe file? Or should the requests be queued and executed one after the other? I hope you understand what I mean. For example, we can not open an exe file on our PC, it can do ten things for us at a time, and we can give it 10 pieces of information at a time, and after a minute it will deliver 10 clips to us, but we can only Give it some information for a moment and after 1 minute just get the output.
2- What kind of project should I make for this on the vps side? b4j server or b4xpages? I once created a b4xpages project on the server side and created a b4j project and then compiled it like a computer software and I was able to connect to it with the socket through the Android app. What is the difference between the two? I feel that building a project with b4j server is a bit difficult and of course it creates an automated web project that contains html code, but I do not want to create a site, I explained the method above. Please tell, whats the story of them big puppys .....
3- After running the software on the server, should I leave the server as it is? Is it possible to hack the server or be able to hack the server without paying money? Or the server may not burn?
4- Do I have to send the data from the client to the server with a socket? So how should photos be submitted? How do I return the video generated on the server to the client?
Please fully guide me. I am a beginner in b4j and this is my first online project.
I want to use b4j on vps for the first time.
I want to create a clip making program with b4a so that the user sends a series of information such as photos, text, etc. to the server and this information will be sent to b4j. In b4j and on the server, a series of changes may be made to the data, for example, the images will be compressed or their color will change.
I will run a bat file from b4j. That bat file executes an exe file and gives it parameters to create a video file. (Parameters will be the same information sent by the user)
That exe file will make a video based on the information given (depending on the amount of information this process can take from one minute to twenty minutes.)
Now the questions I have are:
1- If 10 users request to make a clip from the server at the same time, can b4j make all of them at the same time? That exe file can be executed ten times at a time ?! No data interruptions in b4j or that exe file? Or should the requests be queued and executed one after the other? I hope you understand what I mean. For example, we can not open an exe file on our PC, it can do ten things for us at a time, and we can give it 10 pieces of information at a time, and after a minute it will deliver 10 clips to us, but we can only Give it some information for a moment and after 1 minute just get the output.
2- What kind of project should I make for this on the vps side? b4j server or b4xpages? I once created a b4xpages project on the server side and created a b4j project and then compiled it like a computer software and I was able to connect to it with the socket through the Android app. What is the difference between the two? I feel that building a project with b4j server is a bit difficult and of course it creates an automated web project that contains html code, but I do not want to create a site, I explained the method above. Please tell, whats the story of them big puppys .....
3- After running the software on the server, should I leave the server as it is? Is it possible to hack the server or be able to hack the server without paying money? Or the server may not burn?
4- Do I have to send the data from the client to the server with a socket? So how should photos be submitted? How do I return the video generated on the server to the client?
Please fully guide me. I am a beginner in b4j and this is my first online project.