Anybody suggest a java project using network concepts
i am in need of suggestion of a project in network using java
please help
But be advised that it may make your McBoss upset, and
damage your chance of making head fry-boy.That gives me an idea for a screenplay
McWorker: Hey there McBoss, can you suggest a job for me to do?
McBoss: Why yes I can McWorker, you can handle the register.
McWorker: Ouch, that's a little too complicated for me, anything simpler?
McBoss: Hmm, how bout you make fries.
McWorker: Nope, simpler.
McBoss: Mop up, take out the garbage?
McWorker: Too hard, way too hard.
McBoss: Um, stand there and do nothing?
McWorker: Done and done!
McBoss: Great, anything else?
McWorker: Ya, when do I get paid?
<End Scene>
Similar Messages
-
How to manage source for java project using eclips?
Hi,We use TFS 2013 and VS 2013 for source control ,now we want to start mobile app using eclips,
How to control source of that project,How we can have features of tfs source control on that type of project such a mobile that use eclips.
thanks
Thanks. Bahar Ghadami Web Developer And Technical expertHi Bahar,
You can manage your source code with both Eclipse and My Eclipse.
Please follow this link to install the Plugin (Team Explorer Everywhere) to manage your source code.
http://msdn.microsoft.com/en-us/library/hh301122.aspx -
A strange java project transplantation problem
I am writing a java project using eclipse to crawl webpages.
After I got everyting about the project well on my machine,
I try to transplant it to the server(also Windows XP OS) which
uses the same JDK(jdk1.6.0_05) and development tool(eclipse).
However to my surprise on the server side eclipse hints there are syntactial errors.
And the errors seem very puzzling.
Long currentTime=new Long(getCurrentTime());
Thread.sleep(1000); //Time to wait
Long launchTime=new Long(getCurrentTime());
while(true)
currentTime=Long.parseLong(getCurrentTime());
if(currentTime>launchTime)
private static String getCurrentTime()
return new SimpleDateFormat("yyyyMMddHHmmss").format(new Date(System.currentTimeMillis()));
}for
currentTime=Long.parseLong(getCurrentTime());it hints
Type mismatch: Can not convert Long to Long.However getCurrentTime() retruns String
for
if(currentTime>launchTime)it hints
The operator > is undefined for the argument type(s) java.lang.Long, java.lang.LongTo me, it's quite strange.
What's wrong with it?
Thanks!First I must say sorry for my late thanks to your above guys' enthusiastic helps and replies.
I have an outing last 2 days and it causes me unable to view this thread timely.
Thank evilknightthk. Your modified codes work. But I missed another error in my last reply.
That is
ArrayList<String> threadCluster=new ArrayList<String>();It also hints error:
for ArrayList
The type ArrayList is not generic; it can not be parameterized with arguments with <String>.for <String>
Syntax error, parameterized types are only available if source level is 5.0I checked the auto(un)boxing from the window-->preferences-->...
But seems it doesn't help, error are still there.
Thanks again for your guys. You all are very kind. :-) -
Cannot compile Java files or create Java Project
Hi,
I cannot compile java files and also didn't see any option
for creating java project using flex 2 builder.
Actually am trying to create a FDS project with an option to
compile on the server. I am using Weblogic 8.1 SP5 as my server.
thank you
sunhi
this is may jvm.config file. Can anyone tell me if it is
right because all the fields are blank.
# VM configuration
# Where to find JVM, if {java.home}/jre exists then that JVM
is used
# if not then it must be the path to the JRE itself
# If no java.home is specified a VM is located by looking in
these places in this
# order:
# 1) JAVA_HOME environment variables (same rules as java.home
above)
# 2) bin directory for java.dll (windows) or
lib/<ARCH>/libjava.so (unix)
# 3) ../jre
# 4) registry (windows only)
java.home=C:\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\jre
# Arguments to VM
java.args=-ea -Xmx384m
# Environment variables we care about, whitespace-separated
env=
# java.class.path - use this for adding individual jars or
# directories. When directories are included they will be
searched
# for jars and zips and they will be added to the classpath
(in
# addition to the directory itself), the jar to be used in
launching
# will be appended to this classpath
java.class.path=C:\Adobe\Flex Builder 2.0 Beta 3\Flex SDK
2.0\jre
# where to find shared libraries, again use commas to
separate entries
java.library.path=
thanks
sun -
How to Debug a Java Project in Eclipse using Tomcat6.0
Hi
Can anybody help me with the following questions.
1.How to create a java project in eclipse(I am using jsp,servlets,jsf,spring,jasper,struts).
2.How to debug my application in Eclipse Europa by putting break points.
3.how should i add Tomcat6.0 to my project in order to debug my application so that i can put break points while running the applications and observe the values.
Thanks
BalaYou may find this tutorial useful regarding to JSF, Eclipse and Tomcat: http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html
To put breakpoints, just doubleclick on the left gray rule of the code, you'll get blue bullets at the left rule, indicating a break point. Run Tomcat in debug modus (rightclick Tomcat � debug). Use the Eclipse debug perspective to step in the code (window � open perspective � debug). -
Using a java project in a web which is part of a ear
hi
i have an ear (jspkeepEAR) that includes a web project (jspkeep). The web project uses a java project (common).
I don't want the EAR to know about the common, so i've added the common as a j2ee module to the web project.
when publishing, i can see under
C:\bea92\user_projects\w4WP_workspaces\Untitled\.metadata\.plugins\org.eclipse.core.resources\
.projects\jspkeepEAR\beadep\workshop\jspkeepEAR
the .beabuild.txt file:
C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeepEAR/EarContent/APP-INF/classes = APP-INF/classes
C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeep/WebContent = jspkeep.war
C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeep/build/classes = jspkeep.war/WEB-INF/classes
C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeep/build/jws/.src = jspkeep.war/WEB-INF/classes
C\:/bea92/user_projects/w4WP_workspaces/Untitled/common = jspkeep.war/WEB-INF/lib/common.jar
the problem is, when i'm surfing to a servlet in the web, i get NoClassDefFoundError for classes in the common.
I've also noticed that if i publish the web project by itself (and not as part of the ear), it works fine.
any idea?
thanks
yair
Edited by reformy at 12/12/2006 2:24 AMHi Yair
It appears that WLS only supports mapping a directory to a jar in APP-INF/lib/
C\:/runtime-New_configuration/Common/bin = APP-INF/lib/Common.jar
but NOT to a jar in WEB-INF/lib.
Engineering will look into it sometime to fix it.
Workaround Suggested:
As a workaround, you can include the Java/Utility project as part of the EAR and set as dependent J2EE module to the Web project.
Hope this helps.
Vimala- -
Integration of a Java Project with SAP using XI 2.0
Hi,
I want to integrate one project written in Java with SAP Using XI 2.0 . The data from Java Project will be given in the XML file and the data needs to be posted in SAP .
Also PO data from SAp should be given in XML , which Java Software will read filter it and Update its database.
Can anybody practically guide me as to how should I go about implementing it .
Thanks in Advance.
SanjanaSuryakant & Sanjana :
Step 1: Create web service using Java (EJBs) and consume this web service in SAP XI.
Step 2: PO data from SAP
Step 2.i:
In XI 2.0 you cannot expose RFC as a web service
so what you need to do is create a EJB project to call RFC
using JCO and then expose this EJB project as web service.
Step 2.ii:
Consume the web service created in step 2.i into XI.
Step 2.iii:
In XI expose then expose this as web service.
Step 2.iv:
consume the web service created in step 2.iv using Java Application.
PKK. -
How to use BO SDK in local java project?
Hi,
I am trying to connect BO system using below mentioned code
public void main(String args[]) throws SDKException {
try
System.out.println("main");
/ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();/
IEnterpriseSession boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( "Administrator","","BOSAP","secEnterprise");
IInfoStore boInfoStore =(IInfoStore) boEnterpriseSession.getService("InfoStore");
ChangePWD(boEnterpriseSession, boInfoStore);
}catch(Exception e)
System.out.println("Exceptions in main");
System.out.println(e);
This code was taken from below mentioned thread:
Force all users to change their Enterprise passwords with a batch operation
I have created standalone java project and running as JAVA application in eclipce. I am getting class def not found error for these BO SDK jar files. I have added
cecore.jar
celib.jar and
cesession.jar files as external lib to java project
I am using following imports
import com.crystaldecisions.sdk.framework.CrystalEnterprise;
import com.crystaldecisions.sdk.framework.IEnterpriseSession;
import com.crystaldecisions.sdk.exception.SDKException;
import com.crystaldecisions.sdk.occa.infostore.*;
import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
import com.crystaldecisions.sdk.plugin.desktop.user.IUser;
Does any one know solution to fix class def not found error?
Thanks
Nitesh ShelarI did some mistake few dependent jars were missing in project build path. After adding those missing BO jar files. Now its giving server connection error. Which I am trying to resolve.
Thanks for your help.
Nitesh Shelar -
How can i call a VB6 project from my java application using JNI
hi
can anyone tell me the procedure of calling a VB6 project from any java application using JNI
if anyone does know then tell me the detail procedure of doing that. I know that i have to create a dll of that VB6 project then to call it from the java application.
if anyone know that procedure of creating dll file of an existing VB6 project please reply
please if anyone know then let me knowAhh, kind of a duplicate thread:
http://forums.java.sun.com/thread.jspa?threadID=631642
@OP. You could have clarified your original post and the relationship of your question to java. You did not need a new thread.
� {� -
[Urgent] using javafx object in java project
Suppose I here created a very simple java project and the main file is like below,
public class test {
public static void main(String[] args){
System.out.println("Hello World!");
}and in this particular java project, I need to use another javafx object which is defined as (the javafx and java file are in the same package),
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.shape.Rectangle;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
var stage: Stage = Stage {
title: "Declaring Is Easy!"
scene: Scene {
width: 300
height: 250
content: [
Circle {
centerX: 150 centerY: 120 radius: 80
fill: Color.MAROON
stroke: Color.INDIANRED
strokeWidth: 10.0
}, //Circle
Rectangle {
x: 25, y: 80 width: 250, height: 80
arcWidth: 20 arcHeight: 20
fill: Color.web("#6699ff")
stroke: Color.web("#003399")
strokeWidth: 5.0
} //Rectangle
] //Content
} //Scene
} //StageSo how could I achieve this?
Regards.Thanks for your reply.
But would you please elaborate on this sentence: create the fx class using Class.forName("....").newInstance()?
Indeed I implemented an interface which was extended by the javafx class, and in the main java file I need to write following codes to use this object,
Context context = FXLocal.getContext();
FXClassType instance = context.findClass("packageName.JavaFXClass");
ObjectValue obj = (ObjectValue)instance.newInstance();
JavaInterface ji = (JavaInterface)obj.asObject();The problem that I encountered right now is, the exception was thrown at context.findClass("javatest.MyChart");, since it's not able for the compiler to find the JavaFXClass.class.
I checked the folder build\classes\packageName and noticed that both my main JavaClass and JavaInterface have been compiled with .class file, while the JavaFXClass was not, which means the file JavaFXClass.class doesn't exist.
What's the solution? -
Can i use SQLJ in a normal java project?
I created a normal Java Project and used SQLJ in it.But when i exported the jar file,there was a error:
JAR creation failed. See details for additional information.
class file(s) on classpath not found or not accessible /DBTableApp/com/ezkj/demo/sqlj/Ctx.java
Can i use SQLJ in a normal java project?
If i can,what can i do?hi
good
go through this link
http://www.service-architecture.com/application-servers/articles/when_to_use_sqlj_with_java_application_servers.html
http://www.service-architecture.com/application-servers/articles/sqlj_data_conversion.html
Payroll Cluster table "top Important" Urgent
http://www.javaolympus.com/J2SE/Database/SQLJ/SQLJ.jsp
thanks
mrutyun -
Who can introduce the development contents of the project using java ?
Hi , Web Dynpro experts:
Could u introduce the working contents of the project using java ?
1. Do you develop function that would run in a sap standard system(such as CRM ,internet sales)? OR develop a completely independent web application base on client's demand(EJB,JSP,HTML)?
2.Do all the user interfaces run in web browser ?
In a word ,I just want to know what picture is it as you are using java to work on SAP ,Because I must study AP&JAVA duo to the coming project. Could you explain it for me about SAP&JAVA in any perspective according to your project experience .
BTW: I have 2 years experience on J2EE and 1 year on ABAP. So how i should get started ?Hi Guixin,
The most common structure for building a WebDynPro application is to expose functionality from underlying systems and present it using the WebDynPro UI. Often the underlying system is a SAP ERP/CRM type system, but can also be any WebService compliant system, or a combination of both.
Using the Netweaver System Landscape Directory (SLD), WebDynPro can send and receive data independantly of the source. SAP ERP/CRM systems will expose their functionality using RFC-enabled BAPIs. These functions can be standard SAP delivered modules or custom developed using ABAP.
The choice of where to develop your business logic really depends on the history/strengths of your organisation. If you have a strong history of ABAP development in SAP, then it would be recommended to use ABAP for your business logic and WebDynPro for UI. If J2EE is the strong suit, use that instead.
The WebDynPro interface runs in a browser (either IE or Firefox) however there is a beta version of a WebDynPro GUI for Windows which may offer some performance improvements.
HTH,
Jonathan -
How to use win32 programs(written with C-C++) in java project
ENGLISH
Hi friends I must use c and C++ fuctions in my java project.This functions are open CD room cover ,formatting drivers ,restart close windows etc.
If you show spme sample code about this subject here I pleased very much;
TURKCE
Merhaba Arkadaslar.Java projemde c ve c++ fonksiyonlar� kullanmal�y�m.Bu fonksiyonlar CD kapa�� a��p kapama,s�r�c�lere format cekme ve windos i�lemleri gibi bunlar� nas�ll yapabilirim kod �rne�i g�sterirseniz sevinirim.Read on about JNI.
This has nothing to do with JSF. In the future please post JNI related questions at the JNI forum. -
Use portal functions wethin java project
Hello Every body,
I have i Java project,
i want to perform a user mapping in the portal by this project.
how can i tell the program whats the host of the portal i am using,
i have read in some threads that i have to initialize the UMFactory .
how can i doit,
what does the method initialize of the UMFactory class shoud take as parameter?
i wrote the portal path but it does not work.
i have seen also that i shoud initialize the property: ume.cfg.path !!!
where can i set this property and with which value i have to set it ??
Thanks alot
Morad ZeidanHi,
With this code you can get a user in the UME.
Hope this help.
IUserFactory userFac = UMFactory.getUserFactory();
IUser thisUser = userFac.getUser("uniqID");
Regards,
Stefan -
Can i develope a java application using C API
hai,
i have C api, the project was developed in C before, now i am having that api. I have to do that in java by using that C api.
can any one suggest me how to do this?Your question is not that very clear!! You want to convert the C api to a Java api? or you want to develop a Java application that uses the C api?
For the first question I believe that you should check the functionality of the C api and re-code it in Java! do not believe you should find anything imposible in that! (unless that api is trying to do something crzy directly with memory)
For the second question then I believe you will have to use native calling or something like that. I have never used it, but read about it, and it seems one way how Java can interect with C.
Over here there is a forum.
Regards,
Sim085
Maybe you are looking for
-
Setting a data source for a tableView
Greetings I'm trying to learn cocoa touch by following the Apple's code example called SQLiteBooks. there is a data source assignment within the MasterViewController code: - (void)loadView { tableView = [[[UITableView alloc] initWithFrame:[[UIScreen
-
Hi I am getting an error while PGI "Account 400000 requires an assignment to a CO object" How to solve this ?
-
Can I delete tmp-archive files that are really large?
I have two extremely large files. I'm trying to take back some memory (only operating with 2 GB free space, and that's not good). Ran Disk Inventory X to see my largest files, and found these two gems with 32.25 and 44.62 GB. Now, I've been to one l
-
Setting up with Ricoh MP C5000 - Help!
Hi, I am using a new macbook pro (10.7.3) at work and we use the ricoh mp c5000 at work. I have tried so many different drivers but nothing seems to work. When I try to print one page, about 20 get printed with all of this garbled text,=. If someon
-
can i re-download a movie without being charged again