Member Avatar

I'm using Netbeans 7, JEE project with application client, stateless ejb with remote interface, and JPA entity clasess made from sql script. Interfaces are in separate library project which is referenced in ejb and client project. **And the problem is the remote method that use custom interface object made from entity class cannot be returned. Serialized probably.** Remote methods that use standard types work properly. You can look exceptions at the error code: Exception in thread "AWT-EventQueue-0" javax.ejb.EJBException: java.rmi.RemoteException: CORBA NO_IMPLEMENT 1398079489 Maybe; and this one: Caused by: java.lang.ClassNotFoundException: entity_klase.Varalica (no security manager: RMI class loader disabled) I'm suspecting that …

+0 forum 0
Member Avatar

I have created a program to display salarys, calculate a bonus payment and display total. Wages and total are my two arrays. My problem is, when i run the program, my element starts at 0.i need it to start at one but it cant skip the first value in my array wages. it is currently like this 0 1 2 3 4 5 6 7 8 9 i need it to display and the 10 salaries in there,it cant skip any. 1 2 3 4 5 6 7 8 9 public class Salary { //main method public void calcSalary() { …

Member Avatar
+0 forum 7
Member Avatar

I try to develop a rails web search engine that aims to use carrot 2 clustering rest service that is also work on my computer. However to use these two I need to deploy both of them to same server. Do you know any hosting that makes available to run both at the same time or do you mind and plus solution. I am really stack on this issue. On local host they can work on different Ports however ha it possible to run them also on any Web hosting and communicate them with carrot two rest service... Please help..

+0 forum 0
Member Avatar

I have one query regarding managing information in JSP pages...! How to ADD UPDATE VIEW DELETE information from any JSP page...! How to perform CRUD (create , read , update, delete) operation on that information in most easiest way ??? Does java support any container or any component to deal with that ?? or any free api that will help to perform this task in easiest way ?? [B]ANY TEMPLATE KIND OF THINGS ? ANY API like Joomla or Druple or WordPress framework ??[/B]

Member Avatar
+0 forum 1
Member Avatar

I am developing a dynamic page in that some text and images should be displayed together...! But before that i had tried to get nevigation page for whole application. In that i am getting same problem, Image is not displayed...! What i should write in src=" ????? " I have tried everything 1. /images/Forward.jpg 2. /WEB-INF/images/Forward.jpg 3. /localhost:8081/Car_Dynamic_Demo/images/Forward.jpg 4. D:\study\ADVANCE_JAVA\PrOgRaMs\WEB_APPS\Car_Dynamic_Demo\web\WEB-INF\images\Forward.jpg But nothing is working for me...! [CODE] <%@page import="java.net.URL"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title> </title> </head> <body> <div style="position: fixed ;bottom:550px;left:600px"> <p>Nevigation Bar </p> <img src=" ??? " /> </div> </body> </html> [/CODE] …

Member Avatar
+0 forum 2
Member Avatar

I have this progrom which is compiling and running.Only Iam tryin to understand how to change the action listener Next en previous such that,If i have 5 employees in record it when you reach the last employee in record the Next and previous buttons should be disabled.please advise here is the action listener part of the code. [CODE]public Employee1(EmployeeDataSet employees) { this.numberOfEmployees = employees.getEmployeeCount(); this.employees = employees; } public void loadEmployeeInGUI(Employee e) { // set text field with name Q1Field.setText(e.getName()); // set text field with title Q2Field.setText(e.getName()); // set textfield with salary Q3Field.setText(String.valueOf(e.getSalary())); } public void actionPerformed(ActionEvent x) { if …

Member Avatar
+0 forum 4
Member Avatar

Hi, I am working on client authentication(in a sample JSP application) using certificates. I have written a code to extract the client information from the client certificate. Now I wanted to use certificate's serial number to identify the particular use from the database. I extract the serial number using [CODE]<%= cert.getSerialNumber %>[/CODE]. It gives me an output 3. Is this a integer, BigInteger or array value? Is there any way I can declare this as an another integer variable for example int a = (serial number value)?? I have not played much with jsp so I do not know exactly …

+0 forum 0
Member Avatar

The following is my code for login function. I save the password as MD5 but inside the url after logged in it shows the full word instead of showing MD5. I'm still very new to Java EE and any help I can get will be very much appreciated. [CODE]<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Login Page</title> </head> <body> <form name="form1" method="GET" action="LoginServlet" onsubmit="return checkForm()"> <table width="80%" border="0" cellspacing="2" cellpadding="2" align="center" class="firsttbl"> <tr> <td><%@ include file="banner.jsp" %></td> </tr> <tr> <td><table width="40%" bordercolor="#0099FF" border="1" cellspacing="0" cellpadding="0" align="center"> <tr> <td><table width="100%" border="0" cellspacing="2" …

Member Avatar
+0 forum 2
Member Avatar

Hi guys, hope you can help. I'm creating a mixture of an employee scheduling system with elements of a Human Resource Management System for small to medium businesses. I ideally want to create a java application with a database backend, which I'm trying to see if I can apply sql server. I recently got sql server working in my java EE tutorial, but thats an applet and not an application. I'm almost finished with my research, just finishing off some questionaires. But I really need to finish my decide on which languages I'm going to use. Can I get peoples …

Member Avatar
+0 forum 2
Member Avatar

I've already read the stickied about "STarting java" but the thing is I am not starting java, soo my question is, what's the best book to learn core java and Java EE? and what's their difference and it would be good if you will site the books you've read regarding Java EE and core java

Member Avatar
+0 forum 1

The End.