Hi,
I have a maven project that was generated by Spring Roo. Now I am not sure whether I need all of its dependencies.
Is there a tool to automate the process of detecting stale dependencies?
I'm working on a ASP.NET MVC project where we have decided to use Fluent nHibernate for dataccess. To enable loose coupling we go for a IoC/DI pattern. My questions is what IoC tool to go for. I've tried to find the differences between windsor, ninject, spring, structuremap and unity, but it's difficult to see the benefits each one has to offer. Whats your experience?
hi
i read alot about GlassFish application server that support whole JEE6 Technologies.but tomcat which ?
i know tomcat is Servlet/JSP container.but i see articles in web about " JSF and tomcat " , "Hibernate
and tomcat" and many more...
can tomcat play with these technologies : EJB , JSF , JPA , Hibernate , Spring [Framework] , .... ?
thanks
What is the best way to organize directories within a large grails application?
In a typical Spring application, we'd have myproject/domain/ and myproject/web/controllers and myproject/services
Since grails puts these artifacts in their own directories... and then just uses the same base project package for everything, what is the best practice? Use the same sub package name for domain objects, controllers, services too?
Ken
I want to know the differences/similarities between Hibernate and simple persistence in J5EE?
I'm not clear if Hibernate implements J5EE persistence implementation or if it is a totally different approach to data representation over back-end systems.
Also, I want to know other approaches (frameworks) like JPA or Spring...
Thanks
I have a jython servlet as part of a large application running in tomcat5. I tested a few Spring Framework classes and create the objects in the Jython servlet. When I try to create objects of classes in the application I catch an Exception message "No visible constructors for class". These java classes do have a public constructor class, such as:
public SchoolImpl() {
}
I create the object in python:
from com.dc.sports.entity import SchoolImpl
...
school = SchoolImpl()
What am I doing wrong?
MVC is used a number of popular frameworks. To name just a few, Ruby on Rails, ASP.NET MVC, Monorail, Spring MVC.
Are there any equivalent frameworks using any variant of MVP?
Most of the examples I've found online seem to be custom implementations of the pattern rather than reusable frameworks.
Suggestions need not be specific to any particular programming language, my interest is mostly academic.
What logging libraries do you recommend as alternatives to Log4j? Do these libraries work with Spring and Hibernate? Are they compatible with Slf4j or Jakarta Commons Logging?
I read a lot about GlassFish application server that it supports the whole Java EE 6 specification. But which does Tomcat support?
I know that Tomcat is a JSP/Servlet container, but I see articles in web about "JSF and Tomcat", "Hibernate and Tomcat" and many more.
Can tomcat play with these technologies: EJB, JSF, JPA, Hibernate, Spring, etc..?
I know recently Spring 3.0 was released which brought about a nice new set of features and ease of web development with their MVC package. However are there any new frameworks on the horizon and/or new versions of other frameworks that a web developer should have their eyes on?
I heard about the Stripes framework, but it seems as though development has stopped. It also seems grails has a new release coming out as well which that looks like it is just an update to support the new features in the latest groovy release.
I have a web application written in Java (Spring, Hibernate/JPA, Struts2) where users can upload images and store them in the file system. I would like to scale those images so that they are of a consistent size for display on the site. What libraries or built in functions will offer the best results? I will consider the following criteria in making my decision (in this order):
Free/Open Source (essential)
Easy to implement
Quality of results
Performance
Size of executable
I'm currently working on a Java web project (Spring) which involves heavy use of xsl transformations. The stylesheets seldom change, so they are currently cached. I was thinking of improving performance by compiling the xsl-s into class files so they wouldn't have to be interpreted on each request.
I'm new to Java, so I don't really know the ecosystem that well. What's the best way of doing this (libraries, methods etc.)?
Thanks,
Alex
I'm following a tutorial to set up a skeleton application for tomcat :
http://maestric.com/doc/java/spring/setup#build_files
But I don't understand how build.properties and build.xml actually works.
I'm reading the steps to build a web app skeleton:
http://maestric.com/doc/java/spring/setup#web_app_skeleton
And feel it's greatly different from other languages like PHP.
How is it executed?
Hi,
I read that wicket can not throw Checked exception. how to deal with this. What is good wany to implement exception handling in Wicket spring based application
Mac
Hello, I want to host a web application on a private JVM they offer 32, 64, 128, 256 MB plans.
My web application uses Spring. And I store some objects for every logged in user session.
My question is: How can I profile my web app to see how much heap size it needs so I can choose a plan?, How can I simulate hundreds of users logged in at the same time?
I'm developing the application using Netbeans 6.7 Java 1.6 Tomcat 6.0.18
Thank you.
We develop web application and we are going to deploy it on JBoss.
Now we use JSF, Facelets, Webflow, JMX, Spring.
We are going to use JMS(ActiveMQ).
Maybe in the future we will use EJB3. But for near future we will not use it.
What configuration of JBoss would be better to use - web, standard, default?
And why?
Is anyone out there using S#harp Architecture with VS 2010/.Net 4.0? We are looking for a good ASP.Net MVC framework, and the guys here are already familiar with NHibernate and Spring.Net, so S#harp Arch seems like a good fit. However, they are rolling out VS2010 this week, so we need to know if/how well it will work in VS2010.
Thanks in advance.
I am using Spring upload to upload files. When uploading an Arabic file and getting the original file name in the controller, I get something like:
المغفلين.png
Any ideas why this problem occur?
Hi. I'm absolutely in love with the way GWT does rpc. Is there anything similar for JSE you have experience with that:
a) is not spring
b) doesn't require a jee/servlet container to run the server side
c) is not rmi that comes with jse
TIA.
I'm passing new objects through this set of regex :
(?i)exp\s|(?i)expire\s|(?i)print|(?i)mention|(?i)spring|(?i)summer|(?i)winter|(?i)jan(\s|\.)|(?i)january|(?i)february|(?i)feb(\.|\s)|(?i)march|mar(\.|\s)|(?i)april|(?i)june|(?i)july|(?i)august|(?i)aug(\s|\.)|(?i)september|(?i)sept(\.|\s)|(?i)november|(?i)nov(\.|\s)|(?i)december|(?i)dec(\.|\s)|(?i)holiday|(?i)christmas|(?i)holloween|(?i)easter|(?i)season|(?i)ends|(?i)end
If it errors, for example on the word christmas , how can I dynamically pull the word it errors on, and display it as the cause of the error?
I am a Java EE developer working mainly with JSPs, Servlets, and frameworks like Spring.
Will learning PHP be a wise decision ?
What would PHP offer me ?
Hello,
I have been working with java and python, so I found a nice web host which has support for these.
But my question is, why can you find so hard such hosts?
I understand that php is easy, I also understand that oracle host is hard to find ($$$ of course), but what do they have against some good open-source, completely free java spring, jsp, django, python, ror, perl etc etc ....
So rare to find hosts ... not to mention freelancer bids
Thank you.
Friends,
Our JSP code uses both Spring form tags and JSTL tags. Is there a way that when I search for getFoo() in the Eclipse Java Search, for Eclipse to also return uses of the foo property in the JSP files?
I suspect the answer is "no", because there isn't a way at compile time to tell the types of the JSP beans, but its worth asking, right?
Hi,
Hopefully someone has come across this before. I'm running Spring STS 2.3.0 and when attempting to use the @Resource annotation from javax.annotations.Resource I get "Access restriction: The type Resource is not accessible due to restriction on required library". I'm using the JDK 6u18.
I've tried changing the JDK Compliance to 1.5 and 1.6 and both yield the same error.
Cheers,
-Ed