大约有 7,000 项符合查询结果(耗时:0.0306秒) [XML]
How do CDI and EJB compare? interact?
...there are now multiple component models in Java EE. They are CDI, EJB3 and JSF Managed Beans.
CDI is the new kid on the block. CDI beans feature dependency injection, scoping and an event bus. CDI beans are the most flexible with respect to injection and scoping. The event bus is very lightweight a...
What exactly is a Context in Java? [duplicate]
...u see this name back in an interface/class, e.g. Servlet's ServletContext, JSF's FacesContext, Spring's ApplicationContext, Android's Context, JNDI's InitialContext, etc. They all often follow the Facade Pattern which abstracts the environmental details the enduser doesn't need to know about away in...
Java EE web development, where do I start and what skills do I need? [closed]
...that since Java EE 6, JSP is removed from the Java EE tutorial in favor of JSF and that JSP has basically not changed since then. That's why you could safely use the fairly old Java EE 5 tutorial for this. Most important thing with regard to JSP is the fact that writing plain Java code in JSP files ...
How to use a servlet filter in Java to change an incoming servlet request url?
...
A simple JSF Url Prettyfier filter based in the steps of BalusC's answer. The filter forwards all the requests starting with the /ui path (supposing you've got all your xhtml files stored there) to the same path, but adding the xhtml ...
Where am I wrong about my project and these Javascript Frameworks?
...sync/three way data binding, specially because if you write validators for params it will run the same validator both in the backend and frontend, avoid the need of having 2 code bases that are the same.
– DraskyVanderhoff
Oct 9 '15 at 12:46
...
Design Patterns web based applications [closed]
...e conversion, validation and value change events. This is how among others JSF, Wicket and Play! works.
As a side note, hobbying around with a homegrown MVC framework is a very nice learning exercise, and I do recommend it as long as you keep it for personal/private purposes. But once you go profe...
How to combine paths in Java?
...
If youre working with something like JSF, youre definitly want to keep it String-based as all the Paths you 'll get will be String-based.
– DanielK
Jul 14 '15 at 14:25
...
How to use Servlets and Ajax?
...hout fiddling around with collecting and passing the individual form input parameters. Assuming an existing form which works perfectly fine without JavaScript/jQuery (and thus degrades gracefully when enduser has JavaScript disabled):
<form id="someform" action="someservlet" method="post">
...
How to find out client ID of component for ajax update/render? Cannot find component with expression
...er, do a rightclick and View Source. Locate the HTML representation of the JSF component of interest and take its id as client ID. You can use it in an absolute or relative way depending on the current naming container. See following chapter.
Note: if it happens to contain iteration index like :0:,...
How to reference constants in EL?
...hat this facility is only available in JSP and not in Facelets. In case of JSF+Facelets, your best bet is using OmniFaces <o:importConstants> as below:
<o:importConstants type="com.example.YourConstants" />
Or adding an EL context listener which calls ImportHandler#importClass() as be...