Currently we are migrating our application from Spring-DM to Aries Blueprint. Need a way to use the bean inheritance. I read that the parent attribute is not supported in blueprint.
As far as I can tell, this is not possible. Inheritance is not supported by the Blueprint specification. This is based on reading of the specification and discussing this problem with veterans with many years under their belt with JBoss Fuse, OSGi and Blueprint. It is not clear to me why this important feature was not brought forward from Spring.
Related
Im working with Jenkins DSL and pipelines. Where can I find DSL documentations for these plugins I've typically used GUIs to configure?
I find it hard to imagine that when a new plugin is published that it already supports DSL. (Or are they written in DSL?). Is there a way to find this documentation? Is there an example of a walkthrough to enumerate this?
Or is DSL support limited to 'first class citizen' plugins.
Some of the plugins I am using are azure, packer, maven. It's not the DSL documentation I am asking about, but going about hunting for it.
There isn't really a centralized place (that I know of) for this, as each plugin will publish its documentation differently.
In terms of where you can search:
Some plugin steps can be found on the jenkins.io website.
http://your-jenkins/pipeline-syntax for generated syntax for your version of Jenkins and plugin versions
The source code, since most Jenkins plugins are open source
I'm building a RESTful application to serve as the back end for an ANGULARJS front end application. I would like to use java for the backend component and hence looked into JAVA EE 7, which seem to do the job, but I do not intend to use JPA or any other JAVA EE technologies except maybe JSON processing.
So my question is: is it still worth it to go with JAVA EE and use EJB as resources knowing I'll be getting the overhead of a EJB container and the general weight of JAVA EE server, or use JAVA SE + JERSEY ? Is that actually an alternative?
Thanks
Ibrahim
JAX-RS is part of the JEE specification so its not really an option to just use Java-SE. So what you really looking for is a lightweight solution to still host a JAX-RS application. You do not need to use a full JEE container to accomplish this if you do not plan to use the full stack. You can use Tomcat for example. There are a few examples on how to use Tomcat and a JAX-RS implementation like Jersey or RestEasy:
http://www.vogella.com/tutorials/REST/article.html
http://www.javacodegeeks.com/2011/01/restful-web-services-with-resteasy-jax.html
https://www.ibm.com/developerworks/library/wa-aj-tomcat/
If your company has cash you can always look at the evil empire IBM and their Liberty Profile but I would say stick to Tomcat :)
Basically, Jersey is part of JavaEE stack. The thing is, JavaEE is modular, You can use just what you really need (in this case, Jersey, which is a reference implementation for JAX-RS 2.0 specification). Have a look at great community examples regarding JAX-RS on GitHub that were inspired by Arun Gupta. This might help You with Your decision
The GWT page on the Vaadin website is a bit sparse: https://vaadin.com/gwt
"Only benefits, no gotchas
You will enjoy everything you love in GWT and get the additional benefit of a novel server-side programming model, components, tools, themes and other extras. If you do not like what you are seeing, it is easy to return as long as you stick to using com.google.* packages. You will probably be tempted to start using features in com.vaadin.* packages eventually. But there is no need to worry—Vaadin Framework is also distributed under the same liberal Apache 2.0 license"
I like some of the look and feels on the Vaadin website, but I'm nervous about "server side models"... I would rather have most of the code running on the clientside if at all possible, and I'm checking GWT RPC calls again (often with the same java code) for security. I don't like the idea of lots of back and forth.
Given my concerns, is it worth digging deeper into Vaadin? Or do I stop here? Can I leverage the various look&feels without stomaching everything? Any other non-intuitive answers about leveraging would be appreciated.
UPDATE:
Please don't answer the question comparing Vaadin vs GWT, offering alternative UI frameworks.
I've also used SmartGWT, GXT, and bundled GWT widgets etc. Also familiar with some really complete widget sets like DevExpress for .NET . The reason I asked the question is because Vaadin LOOKS really cool... I'm looking for answers like : No, it's not possible to extract the L&F from Vaadin without compromising the clientside OR besides the L&F stuff, there is cool validation stuff etc etc etc which you can use, and then perhaps some useful evidence to back up that position (tried and failed).
I am answering only a part of the question about the L&F i.e GUI and Security.
1) L&F
Vaadin upto 6.x release does not support independent use of widgets. You need to get into the whole server side models.
However, from version 7 onwards Vaadin is leaning on spinning of Widget side to allow widget use without being forced to use the back/forth jsf like server-side state maintenance.
Reference - https://groups.google.com/forum/?fromgroups=#!topic/google-web-toolkit/3U1h0W_iHcM
2) Security
GWT side has pretty nice support with XSRF feature for RPC which would allow rpctoken generation per RPC call or selectively with your choice of granularity. This be might be a performance overhead for Vaadin roundtrip per sever-side-state call.
3) GAE is a factor depending on how heavy your Vaadin roundtrips really are.
4) Future
Vaadin is a member of GWT steering committee and along with Jboss Errai (asynchronous bean management in Errai roadmap) lean heavily on server side models.
What is best way to implement oauth consumer in cakephp. Should I write plugin based on oauth.php or is there any other solution?
It depends on what you're going to use OAuth for, but it'll probably be integrated in the application you're developing, so writing a plugin might be the least desirable way to tackle the problem.
There's a third-party Vendor/Component package by cakebaker for Cake, unfortunately it only supports 1.2/1.3 and the 2.0 branch isn't actively worked on at the moment, so it seems. No information on how well it will integrate with the current stable version of Cake.
CakeDC also hosts an OAuth library which might contain the functionality you're looking for. There's also a 2.0 branch which is actively maintained.
I have the below stack:
tomcat+java 6+ spring on the server side.
and WPF on the client side.
we can add additional frameworks on both sides if needed.
Is there any way to make the WPF talk to java server directly and data can be transferred similar to binary transfer in flex remoting?i.e. java object to c# object serialization with good performace
I know xml is one of the other ways.
I have read an similar question here. But the performance is not discussed on the article.
Regards,
Shah
I don't see how you would be able to communicate between two ends when one uses RMI and other uses Remoting. I recommend you use Web Service instead.
Take a look at Hessian. It's a binary protocol, implemented in java and .net (and many more). Fits well with Spring as seen here.