Deploying Activiti on JBoss 7 AS - jboss7.x

I am just a "beginner" in JBoss, but was asked to deploy Activiti into it. After "googling" and reading the forum of Activiti I've understood that it is rather difficult but not impossible. I've found this post, made everything like written there, got the error about CDI, but I don't understand what should I do with the archive from Daniel Meyer's blog

You can use it as a skeleton/example for a project using Activiti engine.
Just checkout the code, change to one of programmatic or spring and mvn war. Then deploy target/<some>.war in AS7 and look at the console log for messages. You should see something like "Process engine ... is up and running!".

Related

How to integrate bootsfaces and jsf on glassfish server?

The boots faces won't show when i run the xhtml page. I just added the jars from the website to libraries, am I missing something? Should I change some XML file or something. I know it works on Tomee but i have to use Glassfish for this.
There are nasty bugs in the Glassfish implementation. Maybe you've run into one of them. Have a look at this article of mine describing how to run BootsFaces on a Glassfish server.

XACML open source framework or alternative

I'm searching for a well documented XACML3-Framework in the open source world. I tried AuthZForce and AT&T XACML. Both seems to have many features. The problem: to get them running, I have to read the source code or find test-classes. There are no examples or anything else, that helps to understand the functionality of the framework. I thought XACML is the future of authorization but at the bottom there is no real community.
Is there an XACML-alternative for ABAC-implementations or is there no other way and I must use RBAC with programmed constraints?
Regarding AuthzForce Core (Java library), you have a tutorial on the home page of the github project: Getting started; and an example of usage with a PEP in a real-world scenario. If you are missing info on something, feel free to contact us on our support mailing list. I also emphasize the fact that all Java classes have Javadoc and Javadoc artifacts are published on Maven Central with every release. You can download them manually or make sure your IDE is properly set up to automatically download them when you use Maven dependencies in your Java project.
WSO2 IS can help (opensource):
https://docs.wso2.com/display/IS510/XACML+Architecture
http://wso2.com/library/tutorials/2016/02/tutorial-how-to-enable-role-based-access-control-for-wso2-api-manager-using-xacml/
Policy handling can be done via web interface (Carbon).

no-touch deployment

I am finding all sorts of general descriptions of no-touch deployment and lots of questions and problems, but I can't figure how to just get started with it. What is the method that makes it happen? I'm working in VB.Net 2005. I think assembly.loadform will suit me best since I know all of my users and will deploy via my intranet.
Appreciate any links or suggestions for starting places (other than googling "no-touch deployment", I already did that).
If it's a web application project that you're deploying, one-click publish with Web Deploy may be what you're looking for. Here's a related link:
How to: Deploy a Web Application Project Using One-Click Publish and Web Deploy

WCF integration testing with Windsor

We've got WCF setup to use Windsor. Now I want to start writing some integration tests and I'm running into a problem. I found an article by Ayende http://ayende.com/Blog/archive/2007/06/12/WCF-Windsor-Integration.aspx but I can't find the WindsorServiceHost he mentions. I even went and looked around WcfIntegration in the object browser and no luck.
Does anyone have a more up to date sample or have a short code sample they can share?
You will not find it in standard Windsor installation. It is separate Facility (separate project) which hasn't been released yet but you can download source codes from their repository.

portlet-mvc 3.0 + maven for websphere portlet: examples?

I'm trying to develop a websphere portal portlet using java, maven and spring-portlet-mvc 3.0.2.RELEASE but so far I'm not having a lot of luck.
The problem that I'm having is that a lot of the tutorials are either outdated, incorrect, contradict eachother or a combination of all the above.
Also I have to use RAD but the tutorials also contradict eachother, logically I'd think you'd choose new portlet project, but http://www.ibm.com/developerworks/websphere/library/techarticles/0802_patil-pt1/0802_patil-pt1.html says to use a dynamic webproject.
So I was wondering if anyone had a nice example/good tutorial.
The Portlets in Action book is a very good introduction to portlets. There are a couple of chapters devoted to Spring3 portlets.
Also, for WebSphere Portal portlets it might be worth taking a look at the WebSphere Portlet Factory plugin for eclipse. It doesn't use Spring or Maven, but it makes it very easy to whip together WebSphere portlets very quickly, if you're not too concerned about how it does it.