Example Booking Application, which JBoss Seam is shipped with, build into EAR file of about 7 MB. That's pretty much if you consider deploying this package to a remote Jboss server and possibly redeploying it package many times during your regular work.
Lib files like richfaces and jsf-facelet make the lion's share of that EAR size. Why...
I'm a fresh Struts2 Beginner... and now I'm making a little project...
but now I'm in trouble... :(
My Project is a kind of Fan Club and I want to allow multiple users in my site..
it's smoothly run on localhost and can access...
it has posting photo, and pdf file.. that's all ok
But in appsrv, I can't post anything...and login session i...
The Java gurunaths (natha नाथ = sanskrit for deity-master-protector) at Sun should condescend to accept the necessity of delegates and draft it into Java spec.
In C#, I can pass a method as a handler referenced as a delegate, without needing to go thro the trouble of creating a class just because I need to pass a method in Java.
What a...
Hi All,
How to convert a vector to a list?
...
Hello,
I have a rich:dataTable and a rich:dataScroller. When I click on the datascroller, my dataTable does not refresh automatically to show the correct page. If, however, I press the refresh button the dataTable shows the correct page.
What am I doing wrong?
Here is my code:
<rich:dataTable id="applicantsTable"
binding="#{applicant...
I run a small online gaming community and deal with a database of accounts.
The setup is this:
Folder named Accounts
Inside the Accounts directory, there is 200,000+ text files organized by player name. Access to this folder manually is a pain because of the needed RAM to get in and search files. I find this very inconvenient.
I acce...
pagevalidate() method will be called each time the page is refresh and i did some action on the page. I looking for a method that will only be call first time the page is loaded and for subsequent time the page is refresh/do some actions, the method will not be called. any such method in tapestry 4?
...
Hi,
I am writing the service to implement the audit in our application wherein users can view the status of a particular entity before and after any modification and should also be able to roll it back. We have decided to store the XML Serialized object in the databse in XML_TYPE column.
I am new to serialization, I don't know how to a...
which Stateless bean instance assigned to EJB object to serve the client, when two Stateless beans implements single remote interface and with same name
Ex:
@Stateless(name="KING")
public class One implements RemoteInterface{
}
@Stateless(name="KING")
public class Two implements RemoteInterface{
}
...
Hi,
I want to duplicate a collection of entities in my database.
I retreive the collection with:
CategoryHistory chNew = new CategoryHistory();
CategoryHistory chLast = (CategoryHistory)em.createQuery("SELECT ch from CategoryHistory ch WHERE ch.date = MAX(date)").getSingleResult;
List<Category> categories = chLast.getCategories();
chN...
Is there a way to adjust the width of the bars in a Barchart.I create my chart with the following code.
final JFreeChart chart = ChartFactory.createBarChart("Report", // chart title
"Date", // domain axis label
"Number", // range axis label
dataset, // data
PlotOrientation....
I created a new JApplet form in netbeans:
public class UI extends javax.swing.JApplet {
//generated code...
}
And a jpanel in design mode named panou:
// Variables declaration - do not modify
private javax.swing.JPanel panou;
How do I get to draw a line on "panou"? I've been searching for this for 5 hours n...
Hi All,
I have list having data like a, b, c, d, e, f, g, h, i
if i want this list i would say getList(); which returns me a arraylist,i need only the value at index 10 that is 'i' ,how would i do this ?
...
Please tell me what is the difference between component mapping - custom value type and when to use it?
Thank you.
...
Hello friends,
I have 2 tables as given below.
feedback_answer
question_id number(primary key)
answer_id number (primary key)
answer_en varchar2(255)
answer_it varchar2(255)
user_feedback
verification_id number(primary key)
question_id number(foreign key - feedback_answer)
answer_id number(foreign key - feedback_answer)
...
Someone might yell at me to read the faqqing faq, but I'm in a hurry ...
Does anyone have a way to make javax or log4j logger refactor-sensitive?
Say, that currently utils.Something has the logger handle:
final static private Logger logger = Logger.getLogger(Something.class.getName());
And logging.properties has
.level = warning
ut...
I need one specific 'div'-tag (identified by 'id') from a html site. To parse the page
I'm using cyberneko.
def doc = new XmlParser( new org.cyberneko.html.parsers.SAXParser() ).parse(htmlFile)
divTag = doc.depthFirst().DIV.find{ it['@id'] == tagId }
So far no problem, but at the end I don't need XML, but the original conte...
If you give
public class test
{
public static void main(String ar[])
{
if (true)
int i=0;
}
}
It's not compiling but the same code with braces is:
public class test
{
public static void main(String ar[])
{
if (true)
{in...
I'm developing a web application using Spring MVC 3.0 and looking for a ready-made solution, if any, or a "best practices" reference for a url/action mapping and routing system that can achieve the following:
REST-friendly controller / method name to view mapping. The current mapping implementation translates the request to a view name...
I want to find the method that adds nodes to a JTree dynamically, looking through the documentation and the examples, this can only be done at the constructor of the JTree.
If possible please show me the code snippets to do this.
Thanks in advance.
...