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 wondering what the current state of art recommendation is regarding user authentication for a web application making use of JSF 2.0 (and if any components do exist) and JEE6 core mechanisms (login/check permissions/logouts) with user information hold in a JPA entity. The Sun tutorial is a bit sparse on this (only handles servlets).
This is without making use of a whole other framework, like Spring-Security (acegi), or Seam, but trying to stick hopefully with the new Java EE 6 platform (web profile) if possible.
Thanks,
Niko
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 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
Hi All,
While working in my application i came across a situation in which there are likely chances to Unque Constraints Violation.I have following options
Catch the exception and throw it back to UI
At UI check for the exception and show approrpriate Error Message
This is something different idea is to Check in advance about the existance of the given Unique value before starting the whole operation.
My Question is what might be the best practice to handle such situation.Currently we are using combo of Struts2+Spring 3.x+Hibernate 3.x
Thanks in advance
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?
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 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 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
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?
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
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'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.
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.
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 ?
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,
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
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.
I found this interesting tutorial that explains the concept of view bean with some code snippets http://www.ibm.com/developerworks/ibm/library/i-extreme5/, but I'd like to view a complete (simple) web application in a real world scenario using plain JSP and view beans (not using struts, spring or jsf framework).
Thanks for pointing me to such a resource.
Hi , I would like to know various application development archtecture available for free/commercial . I know Appfuse and Spring Roo . Do we have any other best choices?
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?
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?
What's a possible way to use Spring Security tag <sec:authentication property="principal.id" /> as the value for the <c:set…> tag?
These statements:
<c:set var="userId" value="<sec:authentication property='principal.id' />"/>
<c:set var="userId" value="<sec:authentication property=\"principal.id\" />"/>
won't work.
I am applying for a job as java developer. I programmed some hobby apps in java until 2001, after that I have mostly worked in c++ and other languages. Meanwhile, it feels like java has grown a lot, and there are all kinds of acronyms (EJB, spring, etc) unknown to me.
Where can I find a concise, clear explanation of the recent (5 years) development of java? What are key elements to understand?