Hi,
I need to create a Lucene index on a javaee application startup, but i do not want to decide on the location of the index in filesystem myself. How do applications in general store any files created while running, is there any kind of store provided by the engine per application basis etc. that i can use.
Best Regards,
Keshav
...
I'm looking for a good UML tool (free or at least available as a Trial, availability as an Eclipse- or Netbeans-plugin would also be nice) to visualize the class hierarchy (doesn't have to be strict UML) inside an JavaEE-application.
It should have a decent EJB/annotation support (most important feature). I googled around and found this...
I have Java 6 SE, Tomcat 6, Eclipse Helios for J2EE, Chrome Browser Dev for JS up and working. Sometimes I need the source and doc for java libraries I believe are in the EE kit. What is the best way to get the source and doc and be able to use it in my dev environment without messing it up?
Is this as simple as running the Java 6 E...
Hi,
I'm new to EJB 3 and pretty confused with some doubts which Google didn't provide with a satisfactory answer.
I'm trying to create a framework with some base classes and some utility methods which my other applications can use. All applications are to be deployed on the same server.
When I'm trying to create a new EJB 3.0 project ...
I want to create a timer EJB3 when a stateless bean is created in the pool.
But if I use @PostConstruct I get the exception:
java.lang.IllegalStateException: [EJB:010193]Illegal call to EJBContext method. The bean is in "null" state. It cannot perform 'getting the Timer Service' action(s). Refer to the EJB specification for more details...
If I create an EJB3 bean (say a stateless session bean) in an application using Spring 2.5 for DI, how should I inject dependencies from Spring into the bean without coupling the bean to Spring?
...
Hello All,
I'm struggling futher in my adventure with Jboss and EJB 3.0.
I joined Spring 3.0 with EJB. I have 3 modules - web module with Spring controllers, ejb module with my EJB beans and spring mogule with other classes like dao or some helpers. All in the ear.
So, in my Spring Controller I have the following code:
@Controller
publ...
A fellow developer and I are putting together a proposal for a new application, and we've presented both ZK and GWT to be possible choices. After messing around with both, I'd prefer to move ahead with a ZK proof-of-concept, but one of the "senior architects" of the company (who isn't even on our team) seems to be trying to take over th...
In my Singleton-EJB i start a TimerService every 2 minutes. When a client access the test method
sometimes the application runs into a deadlock. The problem is, the test method calls a asynchronous method inside the EJB (see Method determineABC). The deadlock happens when the scheduleMethod tries to create a single action timer and there...
I am trying to build a simple application with JDeveloper 11g. I connect to a MSSQL Server 2008 database and get data from it.
I am new at Enterprise Java Beans 3.0 so I don't know what code I should write for data update, delete or insert and where to write. I made an application(Fusion Web Application) but the changes I made on that a...
Hey,
I'm collecting resources regarding Java EE 6.
It really looks that Java EE has finally done right, the web profile, the ability to use local EJB inside the web container, the DI and the CDI ...
I'm not sure if we will need Spring framework if JEE 6 proved to be really good and lightweight.
What do you think about Java EE 6?
...
Even though I set the attribute to be @Column(unique=true), I still insert a duplicate entry.
@Entity
public class Customer {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
@Column(unique=true )
private String name;
...
}
I set the name using regular EL in JSF. I did not create table ...
Hi
The javaEE 6 tutorial says that you can not use Session Bean asynchronously, then what is the purpose of @Asynchronous annotation in EJB 3.1 as this article says you can use it. Can somebody explain when to use Message Driven Bean?
thanks!
...
Do I package a stateless session bean in a war file or a ear file for deployment?
...
I'm developing a web app in Eclipse. where is the deployment directory tree situated? In the Apache directory structure or some sub-directory tree structure in my Java workspace tree? I ask because I went browsing the directory tree(s) when an update to my tutorial app didn't work and, assuming that the src subtree represents my developm...
POJO is the norm in Spring but also pervasive in JEE world. One non-POJO stronghold is Servlet. i'm wonderring if any open source ever appeals to change.
POJO examples:
class MyHttpServlet { @Inject void
doGet (@HttpServletRequest Request
request, @HttpServletResponse Response
response) {..} }
class MyOtherServlet { @Inje...
Being new to web app dev, I'm currently insecure what architecture would best work for an eCommerce web app including enduser programming where privileged endusers (managers) can declaratively define via a manager online tool
(a) additional enduser roles (like customer types),
(b) categorized products/services,
(c) product prices in dep...
How to understand What JPA version I'm using in EJB?
Is JPA built-in EJB?
Regards
...
Possible Duplicate:
Tips for moving from C# to Java?
As a fairly experienced .NET developer (since 1.0), I've seen quite a few interesting jobs in the local area which are primarily focused on Java EE, ESB, WebSphere, JSP etc. Now, I'm quite familiar with most .NET "techs", but Java is a mystery. I did a bit of J2SE programmin...
I'm not sure how to phrase this question, but considering the differences in .NET listed below, is there any comparison to Java and all it's deployments?
Platform
The same version of .NET can run on either a server or workstatation
Since the full version of .NET may be too much for some deployments, there is a client profile only vers...