Configuration of jBPM in Jhipster [closed] - java

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I am new in Jhipster.I want to use both jBPM and Jhipster.I am not able to call even simple jbpm process using Jhipster.
Firstly I tried to run simple jbpm process through rest API call it gives me an error H2 datasource not defined.
At second time I tried to run simple jbpm process where I used persistance.xml for jBPM database connectivity then I got an error as No Persistence provider for EntityManager named org.concreatepage
Please help me to come out of it.
Thanks.

We implemented it, for one of my customer, so I can't share any code. But it is pretty simple.
All steps you can follow:
First, generate a JHipster project with simple configuration (no MongoDB, Cassandra, etc)
Look at the code at this repository https://github.com/mswiderski/jbpm-examples/tree/master/spring-boot-jbpm
Add dependencies, config xml files, etc.
Alternative solution would be to use Activi:
here the ticket: https://github.com/jhipster/generator-jhipster/issues/6454
here the module: https://github.com/Activiti/generator-jhipster-activiti

Related

How can I add Spring Boot into an existing project? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am new to Spring and Java in general. I am working on a REST API and want to use Spring. I have read the Spring docs on getting started with Spring but most of them only talk about how to start a Spring project from scratch. I already have an existing Maven project and want to add Spring to that. Can anyone help with that?
I'm using IntelliJ CE 2020.3 if that helps.
Using Spring actually impacts the organisation of your code, and Spring boot even more.
I don't know the size of your existing project, but my first idea would be to build a new application structure using spring boot, then copy the "flesh" of your existing code into this structure, step by step.
Using only chosen bits of Spring / Spring boot is difficult, and certainly dangerous (for mental health) with no experience.
hth

Spring boot Data source config with JPA [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
For now I am fetching the Datasource properties from the application properties file in spring boot. I want to fetch the data source properties from the DS.xml file placed at the external location on the tomcat 7 server. I want this to be a JNDI based configuration. I am using the JPA repository so it possible to do this with minimum changes to the code.
You can do, but you need to run the application as below command:
java -jar -Dspring.config.location=<external-config-file> myBootProject.jar
please refer the bwlow url for details:
externalise guide URL
You can always use JNDI to configure your data-source with an
application server (like tomcat, weblogic) and then within your app
fetch that data-source and use it.
Some application servers like weblogic provides you a way to config it with GUI and some don't

How to publish web application project? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to publish my project on internet through my paid web
, but they doesn't support JSP pages and glassfish.
So is there's any way to publish it?
There are different ways to deploy your build to web servers according to the server. In this situation you telling that you are using glassfish server. It allows three different methods as follows.
1. Using admin console
First thing you should be able to access admin console which is http://localhost:4848. Follow the link below the step by step guide to deploy from oracle help.
https://docs.oracle.com/cd/E19798-01/821-1757/ghgjn/index.html
2. Using command line
You should be able to access command line with asadmin commands. Use following guide to deploy using command line.
https://docs.oracle.com/cd/E19798-01/821-1757/ghgjj/index.html
3. Deploying an Application Automatically
You can deploy applications automatically by placing them in the as-install/domains/domain-name/autodeploy directory, where domain-name is the name of the domain for which you want to configure automatic deployment. Follow the link below to step by step guide.
https://docs.oracle.com/cd/E19798-01/821-1757/ghgmi/index.html

Developing a standalone application using Java [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to build an application using Java related frameworks but i do not have an idea to start it.
The description is as follows:
I need to fetch flat files containing legacy data from UI and then send it to the structured database for storing the structured data. It is basically a conversion of legacy data into structured form.
In this above process i want to display the error logs on the UI itself.
How could i achieve this functionality and which framework or technology will be better to use? Is it good to use Swing?
You could write a simple console application. If you don't need a GUI don't use one. Otherwise Swing is fine.
You can use Spring and Hibernate to handle the database connectivity.
Logging would be via Log4j which can output to Console.
It seems you have a lot of studying to do to get started.

Do I have to create a new database? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I use Netbeans and the services that allow me to create a mysql database. My question is, when I finish my project will the database be of use? Or do I have to create a new database?
If you didn't get the question right here is a complete description of my question: Is the inbuilt database only used during the building stage of the project? Or can I still use the data created in the database, with the same code? And not have to create a new database?
No need to create database again. When you configure the database server you are basically creating a client connection for your database server in your IDE. So it's not IDE bound, which means you can use the same database.
I guess you can use the same database you created before.
Netbeans creates the database at first stage when you are creating the model. But once you do it, you can reuse it by just accessing with the own credentials. Perhaps would be great if you can elaborate a bit more.
What kind of databse are you refering to? Mysql, oracle, postgresql?
May you attach an screenshot of what you are doing in netbeans?
Hope this could help so other people can understand in detail.

Categories