Comments (6)
Is this helping ?
http://www.springboottutorial.com/spring-boot-java-xml-context-configuration
I've already tried to using @ImportResource and spring boot exited without any logs. Maybe i'll try again next time.
PS: is it relevant to use bean based annotations ?
So we must create class for the datasource adapter in spring boot and use annotation reflecting the xml right? i'll try it later
Thank you so much for your help.
from soluble-jasper.
Using the adapter is working if using tomcat to deploy JavaBridge and add WebService applicationContext bean manually to WEB-INF.
Are there some way to include the bean xml to springboot?
I'm already try to load it with @ImportResource and no result (i don't know spring or java stuff)
Just asking here if somehow you can help me to use the adapter. thank you
from soluble-jasper.
Using the adapter is working if using tomcat to deploy JavaBridge and add WebService applicationContext bean manually to WEB-INF.
Yes you can always add libraries in the WEB-INF folder... I'm not working with the bridge anymore, but generally I generates a full .war file with gradle.
As an example look at what I'm doing on travis:
https://github.com/belgattitude/soluble-jasper/blob/master/.travis/build_javabridge_jasper_war.sh
and the corresponding gradle config
https://github.com/belgattitude/soluble-jasper/blob/master/.travis/init.jasperreport.gradle
You can try to modify it, including local files or a repository.
Hope it helps
from soluble-jasper.
BTW, for spring boot have a look to
https://github.com/belgattitude/pjb-starter-springboot
$ ./gradlew build -I init-scripts/init.jasperreports.gradle -I init-scripts/init.mysql.gradle
See some examples of init-scripts that can be used to include libraries:
https://github.com/belgattitude/pjb-starter-springboot/tree/master/init-scripts
from soluble-jasper.
We are using https://github.com/belgattitude/pjb-starter-springboot for building the java bridge server and we the the init-scripts. But we cannot add the beans xml of WebServiceAdapter to from the init-scripts (we don't know how to load it).
thank you for reply
from soluble-jasper.
Is this helping ?
http://www.springboottutorial.com/spring-boot-java-xml-context-configuration
PS: is it relevant to use bean based annotations ?
https://docs.spring.io/spring/docs/current/spring-framework-reference/core.html#beans-java-basic-concepts
from soluble-jasper.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soluble-jasper.