Came across this Spring XD demo on connected car - thought it's interesting (https://www.youtube.com/watch?v=qkm2GV57hzY).
Wonder if the source code is OSS, available on github or somewhere.
We are currently working on the direction of that project. While the code there isn't open source, I'd be happy (offline) to discuss any of the technical details of the project.
Related
I am considering Microstream for a project but before adopting it would like to better understand how the framework actually work and in particular what the overhead (indexing, any wrapper objects etc) is per persisted object and per root. I have looked around quite a lot on both the microstream web site and Internet in general but failed to find information on this detailed level....
Any suggestions, short of actually reverse engineer the source code that I see as a last resort would be much appreciated!
Microstream is open-source. You can check the Github repository. There are also many videos on youtube from Microstream Team. Microstream Team also is very active in Java User groups, has many live presentations about this framework, you can participate in these meetings. Microstream JavaDoc is part of the Maven Artifacts in the maven repository.
I have a developed a web-based application using springBoot and AngularJs.In this project, action is taken by the user(checker) based on inputs provided by the maker.
Now I want to develop a workflow/automation system, which will automate the checker's action, therefore the human intervention of checker will not be required. Workflow/automation system will take the actions by itself. There can be around 3000 workflow scenarios.
Can anyone guide me which Spring Boot framework/module can be used to achieve this?
Checkout Activiti which has a spring module that might solve your problem.
http://www.baeldung.com/spring-activiti
Not really enough details to know for sure if it will work for you.
For something external to your app and more capable (and heavier) that you could call with APIs check jBPM.
https://www.jbpm.org/
Our project uses the Grails stack with Grails 3.1.5, GORM and Groovy. We are trying to move away from Grails and just use Spring-Boot. We have not settled yet if we want to get rid of GORM and Groovy as well.
Our reasons are:
a lot of trouble in upgrading to Grails 3.2.2
lack of up-to-date plugins
bugs in grails and it's plugins
no community
bad documentation
mostly figuring out the magic of Grails takes up more time than writing everything on your own
Does anyone have any experience or suggestions on how to deal with a migration like this?
Thanks :)
In any case, even though you seem to have written your question in a way that is likely to create more discussion than help you out, here's my 2 cents, FWIW:
You're already in a spring boot application! You can leave all the annoying grails-y and groovy-y things behind and code your app in java, with all the boot-y annotations you want.
This is not to be facetious! It is a good methodology to slowly extract your grails artifacts and replace them, with spring-boot components, without having to break your app.
So here, from a non-existing community member of grails, good luck.
UPDATE:
After answering your question, I thought back to all the times a grails developer answered a question for me, every time I spent hours through the rabbit hole of the grails web sites, reading mind-blowing documentation and tutorials, and I thought I owed it to all these people doing this for FREE, to come back and defend them.
The grails and groovy communities are one of the friendliest I have ever come accross. You should bother to go to a conference or visit their slack community.
Some links to grails' outstanding documentation sites:
http://grails.org/documentation.html
Grails guides:
http://guides.grails.org/
Either you haven't looked or you have to tell me what your standard is.
My first post.
I have experience of basic java servlet and jsp and have got my webpage implemented in tomcat7.
Regarding Websocket, I am finding difficult to build understanding of how to implement it, i want to use tomcat8 implementation of websocket api and uplift my webpage (jsp, java, jquery, tomcat7) to use the websocket features, have not been able to find the the tutorial that can guide me through, something like hello world example. any pointers (sample codes, tutorials)?
have tried to understand tomcat8 examples but not understanding them at all
You need to understand that you don't just "add" WebSocket to an existing web application.. to make it faster, better, cheaper, more scalable, etc. Instead, you have to completely re-architect the web-layer of the application to take advantage of its capabilities.
I suggest that you first read a lot about WebSocket and what the whole idea is before you try to write any code, using Tomcat or any other WebSocket-capable server.
Nick Williams has a forthcoming book that appears to cover everything in the web application world, and as I understand it, will have a great deal of information about WebSocket-based code. You will unfortunately have to wait until March 2013 (at least) to use that particular book.
I'm sure there are similar books available, or even online tutorials to help get you started using WebSocket. Just be aware that switching to WebSocket isn't some simple configuration option: it's a very disruptive change to any existing web application.
I completed a new MVC web application and my boss asked me to create a new version for a new custumer. Same web application but differente CSS and two new modules (for module I mean a new page used by user to interact with DB). It's not a big deal and quite easy to do, just duplicate the project in my Eclipse and modify it. Two days work and project completed. Well done, all happy but not me.
I was thinking to wordpress, it's really customizable, just create a new template and plugin and activate it. I'd like to do somenthing similar to reduce the new version deploy and the code mainteneance. My question is, how can I do something similar with Spring? or better, is it possible to create a new module and deploy it for a web application? is the Spring dynamic the right option for a MVC Spring application?
thanks,
Andrea
I don't think your approach is correct. You need to discuss with your manager whether this situation is likely to repeat. Because to me it looks like it might.
Let's imagine a scenario: you have a number of copies of your app with some minor enhancements or changes between them. A month later one customer reports about a bug that's really nasty and has to be fixed in every of your app instances. Imagine your pain.
Why don't you approach it with multi-tenancy in mind?
Implement white-labelling, so that depending on the customer your application can get different looks;
Extend the backend, so that customers don't ever see each other's data
Implement configurable features, so that one customer doesn't see extended features that your boss sold to another customer. When he does sell them - it's going to be a matter of toggling a few flags in the database/configs.
Don't want to support multi-tenancy or the product is physically deployed on different (customer) servers? Doesn't matter! If you find a bug, you fix it once and redeploy the jar-file to all the affected systems.
Granted, the above isn't two days of work, but down the road this approach may save a lot more.
As to your question, Spring allows you to customize its looks via changeable styles and layouts. I suggest you to create a sample web app with Spring Roo to see how it's done. However, if I were you I would still aim to have a shared codebase between the projects at the very least.