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 6 years ago.
Improve this question
What is the best solution to configure rdf/owl database for spring web mvc applications?
I am searching a solution to orm for owl in spring application.
Have you looked into Stardog? I'm not sure what your exact goal is with the database, but this is what I use for creating/accessing/querying/etc. triple stores programmatically. They have an API called SNARL - here is a good example of how to use it with Java. They actually have a section in their docs for Spring Programming and use some different beans. I use a combination of the spring programming (for querying) and the method in the first link (for setting up dbs and loading files).
Downside is OWL/XML and Owl Functional Syntax are not supported file formats, but you can just convert your file to RDF/XML (esp. easy if you're using Protege). If you're not using Protege, there are other ways to do it.
If you have any further questions I'm happy to help out.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I'm learnig Spring framework. I want ask about configuration style.
If XML configuration is not deprecated. When better option is using annotation config and xml config?
I read for bigger beans better is xml, but it was five years ago.
XML configuration is still officially supported by Spring. However, in practice, you can see it here and there, but in general its considered outdated by the community (ok this can be an arguable statement, so I'll state that its solely my opinion to be "on the safe side").
One example where XML configuration is still in use is large old projects (usually enterprises) that were started long time ago in the XML configuration era.
In a nutshell, for the learning purposes annotation based configurations is the way to go.
The good news are that spring is way more than the configuration, so if you'll understand how it works and what can be done with this framework, you'll be able to quickly switch from XML based configurations to Java config or annotations and the other way around
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 am new to Java EE, so to learn Java EE (EJB+CDI+either Zkoss/JSF 2.0) I am trying to build a sample application.
In this application I don't want to use any spring-security related stuff. I do want the Authentication+Authorization mix which is provided by Spring Security. Further more I want to have tags which might help me on the view part as well.
I tried searching on the Internet for this. I found something called Apache Shiro. I don't want to use any other framework.
Can anyone please provide any necessary guide lines that how can I achieve this using the Java EE stack? Is there any specification? Or how can I implement it if I have to write my custom code? Any examples that you guys have come accross would be great if you guys share.
I strongly recommend PicketLink for your JavaEE application. It's CDI-managed (so you don't need Spring or other heavy-weight framework), has a big pack of tutorials and quite simple for beginners.
UPD: It's JBoss dependent.
You should use JAAS if you don't want to use any framework. You will have to research about JAAS. You can look at http://docs.oracle.com/javase/7/docs/technotes/guides/security/jaas/JAASRefGuide.html
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 8 years ago.
Improve this question
I am building a small java application that shall run locally on a system. The data I intend to input is little stuff like my daily expenses, a couple of contacts I have, and a couple of notes of things I want to remember.
To save the data for this matter I think installing a database like MySQL or Oracle would be an overkill. In my past projects I always used those databases.
How would I have to manage the data of a small program? Are there any ready to use solutions in the java world? Maybe with the possibility to use it together with JPA?
You should look into Apache Derby:
http://db.apache.org/derby/
or HyperSQL:
http://hsqldb.org/
They're both lightweight database engines that you can fire up on application start-up, ideal for smaller projects. They also both have Hibernate dialects for JPA.
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 9 years ago.
Improve this question
I'm trying to implement modularity system (J2EE) to allow changes of the type modules/plugins/add ons.
I want to know how to start, what approach I should follow.
Are there any new design patterns for this type of system ?
or do I need a new technology (message bus, osgi) ?
Thanks in advance
Mhadjis
Spring would be a good starting point. Spring context files let you specify most of the architecture in XML and the replace them later. This makes for a very modular architecture. Now in terms of being able to write "plugins" like where a user can provide a jar file and it hooks into the app dynamically that is something you'd have to roll yourself. However, Spring could help you there again by providing a lot of tools for abstracting out the configuration of plugins and loading them (loading them as Spring contexts).
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I know this question is subjective but I would really want to know what are the best j2ee web application auto code generators.
I googled and found out the Appfuse is one of them.
Spring ROO is another but it depends on spring i think.
Are there any other better tools?
Basically lot of time is spent on creating regular CRUD screens with the same mundane things for each screen.
So, I would want to reduce the time spent on such simple CRUD screens so that I can focus more on the core application logic.
We use Telosys (http://www.telosys.org/) to generate repetitive code like CRUD screens.
A set of templates are available for Spring MVC, JPA, AngularJS, etc.
We have customized some of them. It saves of lot of time.
The best solution I have seen so far is Grails. It generates groovy code, not java but you can interface painlessly with any java library/class. The convention over configuration features are amazing and one can put up a functioning web app in minutes. I suggest you see for yourself - just try the grails screencasts. They will get you up to speed in 15 minutes.The technologies used under the hood are best-of-breed : spring, hibernate, lucene, quartz, sitemesh etc.