Is it possible to build a console app with Quarkus? In other words, its doesn’t start up a web service but simply run from start to finish.
It's not possible currently but that's on our roadmap.
It won't be for 1.3 but maybe 1.4 or 1.5 (so in a month or two).
Related
I have some experience developing microservice using spring boot applications but I'm a beginner when it comes to hosting and deploying those applications.
Below some characteristics of my microservice:
Is a spring boot (tomcat) application (latest version)
The database used to store data it is MySql (latest version)
The source code is on github as VCS
Continue integration tool: TBD
I need at least 2 environments (development and production)
The application currently its address around 3K end-users by year, so the traffic is NOT, unfortunately, a big issue :(
The budget I intend to allocate is up to 200$ by year
Perhaps you could take a shot at hosting it on Microsoft Azure.
Currently they have support for Tomcat and you could try to deploy the app in seconds with their App Services, which can easily be hooked up to a Github repo for continuous deployment. However, you will almost certainly need to dig into the config to make a successful build.
I also think this could be a fitting solution for you, since they offer you the opportunity to try it for free for 12 months, with $200 credit. This appears to fit what you would need for your first year.
If you can make it work under Azure's constraints for the first year, you can evaluate whether you'd like to renew or choose a different provider!
Best of luck to you.
I have a spring boot app pushed into cf. Now my app while running needs to get the number of instances in which my app is running. It is using this info in the program logic. what shall I do to my code to get this info.
(Will redeploy the app after needed changes made to my project)
Take a look at this article: http://blog.pivotal.io/pivotal-cloud-foundry/products/how-to-integrate-an-application-with-cloud-foundry-using-oauth2
It should get you going along with the answer I posted to your other question:
number of instances the cloud foundry app is running
I wonder if there is a way to manage multiple was liberty profile app servers in one place? Like WAS full profile has a WAS console where you can start , stop, configure, generate-pluging etc. features but something similar ?
Check out the Admin Center feature, available since version 8.5.5.2.
I am newbie to vaadin. I have few questions:
Does Vaadin 7 or later version supports websockets?
Does Vaadin has any other features like pushing data from server to client (e.g. websockets)?
Vaadin support Atmosphere, so google to get the plugin that will enable websockets.
Server push is the main feature coming with Vaadin 7.1 in a few weeks time. See the Roadmap for current status and the related blog post.
The most downloaded add-on for server push before Vaadin 7.1 is ICEPush but you can find other alternatives in the add-on directory as well.
Update - Push Is Built-In
Both of the other answers by jfarcand (creator of Atmosphere) and Ludd were correct, but are now outdated.
Vaadin 7.3.7 (as of 2015-01) now incorporates the Atmosphere library. Atmosphere provides for built-in support of Push. No need to add any jar, library, plugin, nor add-on. Vaadin Push first tries to use WebSocket technology. If not available, Vaadin Push falls back to other approaches.
Three simple steps:
Add the #Push annotation to your UI subclass
Use a ScheduledExecutorService to update data for your app in the background. Probably best to start and stop the executor service in a ServletContextListener, called as your Vaadin web app launches and shuts down.
When fresh data is ready, the background thread calls the UI::access method to schedule access to, and make changes to, the user interface components (widgets) on the UI thread (the Request-handling thread).
Instead of Step # 2, you might want one user’s main user-interface thread to update another user’s display. Basically the same idea, and covered in the Book Of Vaadin.
Book Of Vaadin
See section 11.16 in The Book Of Vaadin for more info about Server Push.
Minimal Example
In 2015-01, I posted this answer for a minimal example of Push in Vaadin 7. You can copy the content of a single file, to replace your the content of the MyUI class in a new default Vaadin project.
I'm planning to create a web based application for restaurant billing for my client. The technology is Spring, hibernate. Since my client is not inclined to any browsers, I will ask him to go with Firefox. Planning to deploy my App in Tomcat instance in his local machine.
This is my first real time deployment. I have planned to use SQLite in Firefox to give at least 70% of responsive time of desktop application. How do I make my application more stable since he will be using it round the clock? Will the responsiveness of my application deteriorate in days? I don't have any clear forecast on this.