Is there any special meaning associate to _ in java
hello friends is there any special meaning associates in java ....
if i declare a variable like productprice than underscore before product denote some special meaning .....
my colleauge told me this but am confused do good programmer use underscore in their programs for special meanings
plz tell me
Some people name their member variables with a
leading or trailing _ by convention, but that only
has meaning to those humans that follow that
convention. It means nothing to Java.One guy I know uses it for local variables and uses p... for paremeters. Which drives me nuts... imagine having variables like _Result....
Similar Messages
-
i am not getting any panorama image is moving when i move my phone.Is there any special setting??
Are you talking about using the camera application?
I assume you are not ... instead I assume you are talking about a panoramic wallpaper that at one point during iOS 7 development was supposed to move when you move your iPhone. That feature did not make it to iOS 7. -
I want to updgrade LR 3 to LR4 is there any special price just for upgrade?
I want to updgrade LR 3 to LR4 is there any special price just for upgrade?
The official price for upgrades is $79. Go to: http://www.adobe.com/products/photoshop-lightroom.html and input the requirements for your product and machine in the block on the right.
-
my apple ID has a . in it, when i try to enter my ID on ipod it keeps telling me it's incorrect is ther any special way i should be doing it?
Remember, any purchased item from the itunes store is forever associated with the Apple ID used to buy it. So when you get prompted for an ID/password and it doesn't accept it, then you are using the wrong ID.
Go to Settings>iTunes and App Stores, be sure it's logged into the ID you have set on the iphone (since that one seems to be connecting with the right ID). If you've done this, then you might wait a bit to see if the "cannot connect to .. store" message has to do with internet connections. -
We have a multi-terabyte database which daily receives tens of thousands of records to insert or update. Most online advice on reducing memory paging covers server memory options and dynamic memory management techniques.
Are there any tested programmatic or database design techniques that could also be explored to increase efficiency?
Thanks,
Tom> How long is it taking now to process this workload?
About four hours. The record data is inserted/updated across multiple related tables.
Across about how many tables?
Four hours seems a bit long for 100k rows to merge, say half updates and half new inserts (and whatever you do about deletes, maybe treat them as slowly changing dimensions), but my first move would be to just treat it as an optimization question and use
the profiler to get a list of the longest running and most expensive queries, and see if they can be individually improved.
Just basic stuff - do you handle the rows one at a time and commit for each one, or are the processes done relationally and with one commit per batch?
Josh -
Is there any way to start weblogic server with java 7?
Hi. Is there any way to start weblogic server with jdk 1.7?
Hi,
You can start your Weblogic Server with java 7(JDK 1.7)
Go to Domain_home/bin and click on StartWeblogic.cmd it will start your Admin Server
It depends on which JDK you have used while creating domain if you have selected Jdk 1.7 it will use the same to start the server
See the Ex:
================
starting weblogic with Java version:
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
Starting WLS with line:
C:\PROGRA~1\Java\JDK17~1.0_5\bin\java -client -Xms256m -Xmx512m -XX:CompileThr
eshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=AdminServer -
Djava.security.policy=H:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy
-Xverify:none -Xverify:none -da -Dplatform.home=H:\Oracle\MIDDLE~1\WLSERV~1.3 -
Dwls.home=H:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=H:\Oracle\MIDDLE~
1\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -
Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=H:\Oracle\MIDDLE
~1\patch_wls1036\profiles\default\sysext_manifest_classpath weblogic.Server
<Mar 3, 2015 1:08:32 PM PST> <Info> <Security> <BEA-090905> <Disabling CryptoJ J
CE Provider self-integrity check for better startup performance. To enable this
check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Mar 3, 2015 1:08:33 PM PST> <Info> <Security> <BEA-090906> <Changing the defaul
t Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable
this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Mar 3, 2015 1:08:33 PM PST> <Info> <WebLogicServer> <BEA-000377> <Starting WebL
ogic Server with Java HotSpot(TM) 64-Bit Server VM Version 24.51-b03 from Oracle
Corporation>
=======================================
If you are using a Lower version of JDK and want to upgrade to JKD 1.7 you can do so by changing setDomainEnv.sh in Weblogic
Have a look at the below link to do so
The Weblogic Wasp: change java version / JDK of a weblogic domain
http://www.baigzeeshan.com/2012/05/how-to-change-jdk-used-by-weblogic.html
Hope it helps -
Is there any Eclipse Pulsar and JCDE Plugin for Java Card 2.2.1?
Hi Friends..
I want to know is there any Eclipse Pulsar and JCDE Plugin that still supports for Java Card 2.2.1?
Actually, currently i use Eclipse Pulsar and JCDE Plugin but it support only for Java Card 2.2.2..
I tried to set the Java Card Preference into JCDK 2.2.1, but it couldn't be set because converter.jar isn't compatible..
Please help me regarding this..
Thanks in advance..There is, but it's very limited.
1. Put the Library on a disk formatted Mac OS Extended (Journaled)
2. Point both machines at it.
3. That's it.
But remember:
A strong warning: If you're trying to edit the Library (that is, make albums, move photos around, keyword, make books or slideshows etc.) or edit individual photos in it via Wireless be very careful. Dropouts are a common fact of wireless networking, and should one occur while the app is writing to the database then your Library will be damaged. Simply, I would not do this with my Libraries.
Also
Only one user can open a library at a time.
Regards
TD -
Is there any way to create a keylogger in java?
I was wondering if there is a way to create keylogger in java?
If someone could help me that would be greatly appreciated,
thank youI know what your thinking and i know what everyone else is thinkin but this program is not intended for that. A friend of mine has a bet with me about all this stuff and this is one of the things on the list and in order for me to win the bet i need to come up with a keylogger.
thanx -
Are there any special steps required when changing processor count?
We have some Linux Servers with 2 CPU's out of 4 Sockets, and others with all 4 filled. We are considering a potential change where we remove CPU's to set our other server's at 2, and then later potentially adding more CPU's so all systems have 4. The question I have is if we can shutdown the server, remove the CPU's, and then restart the server and Linux will have no issues adapting to the change in processor count, or if there are additional steps we will need to make on the Linux side to accomodate the change in processor count.
The contractor's we usually use and would have used for this job indicate they have never run into this before so we are looking for the answer wherever we can find it. Any input would be greatly appreciated.What do you have installed? Normally the 1st CPUs boots the system and loads the SMP Linux kernel, which brings the other CPUs or Core's online. As previously outlined, there is no re-installation or re-configuration necessary and the Linux kernel will automatically adjust.
Enterprise Linux normally uses a SMP kernel, for example:
[root@localhost ~]# grep CONFIG_SMP /boot/config-$(uname -r)
CONFIG_SMP=y
[root@localhost ~]# uname -a
Linux localhost.localdomain 3.8.13-16.2.1.el6uek.x86_64 #1 SMP Thu Nov 7 17:01:44 PST 2013 x86_64 x86_64 x86_64 GNU/Linux
You may eventually have to check your PC BIOS to make sure CPU's are enabled. -
Are there any special plans for Non-profits?
Part of a very small not profit that currently uses Photoshop and Premeire - would love to upgrade but, have to watch the expense. Thank you.
Not that I know about...
Cloud Plans https://creative.adobe.com/plans
-and subscription terms http://www.adobe.com/misc/subscription_terms.html -
Is there any way to create installation files using java
Hi,
can we create write any program to install our product in linux. I thnk we can do it using VJ++, but for windows.
thanq
chanducan we create write any program to install ourproduct in linux.
Yes, you can write any program to install your
product in linux.Visual J++ might not really be the best choice though. -
Is there any option to plot a graph in java if so get me a sample code
its really urgent
You really need to read the tutorial.
You extend, let's say a JPanel and then override paintComponent method.
This is a sample of one of my programs:
public void paintComponent(Graphics g){
if(notVisible) return;
g.drawImage(image, x, y, w, h,null);
if(beingDragged){
g.setColor(Color.black);
Graphics2D g2 = (Graphics2D)g;
g2.setStroke(BorderLines.getStroke(BorderLines.DOTTED));
g2.drawRect(tempX, tempY, tempW, tempH);
if(!selected) return;
g.setColor(Color.black);
g.translate(x, y);
int xMid=w/2-3;
int yMid = h/2-3;
g.setXORMode(Color.red);
}As you can see in the method I use the object graphics to paint all that I want: images, lines, .... -
Is there any unique per pc code(static) that Java can retrieve??
Hi
I need to find a unique code (eg maybe cpu or motherboard serial??) on pc via Java.
HDD serials are only unique per batch of them coming out of the factory.
If anyone has some idea as to how this might be achieved, that would be awesome!
But, if Im clueless in my optimism I also need to know, I can humbly accept that ;-)
Thanks either way!I need to find a unique code (eg maybe cpu or motherboard serial??) on pc via Java.
Does the unique code you are seeking need to be bound to the available hardware on the machine or just so long as it is unique?
Assuming that the need is simply to be unique, maybe this will help give you a start:
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.rmi.server.UID;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
try
UID id = new UID();
String ip = InetAddress.getLocalHost().getHostAddress();
long now = System.currentTimeMillis();
long totalMemory = Runtime.getRuntime().totalMemory();
long freeMemory = Runtime.getRuntime().freeMemory();
ByteArrayOutputStream bytes = new ByteArrayOutputStream();
ObjectOutputStream out = new ObjectOutputStream(bytes);
out.writeBytes(id.toString());
out.writeBytes(ip);
out.writeLong(now);
out.writeLong(totalMemory);
out.writeLong(freeMemory);
out.flush();
out.close();
randomizer = SecureRandom.getInstance("SHA1PRNG");
randomizer.setSeed(bytes.toByteArray());
catch (UnknownHostException e)
catch (IOException e)
catch (NoSuchAlgorithmException e)
}I am not sure just how unique of a code this would actually generate however... -
Have been unable to get IPhone 4S to show up on AV TV
Using AV TV RCA Video USB connection. Have tried in
HD 720i, HD 1080i and 1080p TV's. Is there any special
software needed on the I Phone to do this? if so please
advise.I don't think the dock can support the HDMI dongle. I know it will do Video Out via Composite cable.
The actual dock itself has not been updated for a few years, so this may explain your problem. The packaging was changed last year to include the new remote, dock adapters, and a wall charger. The dock itself is still identical to the 2009 model. -
Is there any Exchange API support exporting .edb file to .pst file.
Hi
I'm working on a feasibility study of Exchange single mailbox/item recovery for our product. I find that there are some third part software can extract items from .edb file , and export specific items to .pst file. But there is not public
Exchange SDK about this functionality. So I want to know is there any special API be provided for third part partener about this extract .edb file? if not, are there any another way to implement this functionality?To recover your EDB file you must need a 3rd party Exchange Server Recovery Software. For your convenience you can read this tutorial about EDB Recovery. visit
http://www.edbtopsttutorial.net
Maybe you are looking for
-
Header and footer on print?
How do I put header and footer in my print method? Can anyone plz help me with this, am stuck.... My method looks like this: public int print(Graphics g, PageFormat pf, int pageIndex) throws PrinterException Graphics2D g2 = (Graphics2D)g; g2.set
-
Fonts shifting in Snow Leopard Flash CS4
We have noticed Fonts shift down in our layouts. Our files are very messed up. One particular font that is doing this is TheMix. Anyone else have this happening? Any fixes out there? The same file opens and displays just fine under Leopard.
-
Hi , i m using merge query . below is my query . MERGE INTO tbltmonthlysales A USING (select DISTINCT 'JAN-2011' MON_YYYY,distributorname DISTRIBUTORNAME From SYN_VWABS) B ON (a.distributorname = B.distributorname) WHEN NOT MATCHED THEN INSERT (A.MON
-
Hello, everybody. Standart TCP/IP connection named "MDX Parser" doesn't work. It says "timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur". When I try to run mdxsvr in command line it says that librfc32.dll could not be
-
When trying to open a file in CC 2014
When we try to open a file in CC 2014 the program does not respond. Anyone out there having the same problem? It is so bad that we went back to InDesign CC. We have 5 PCs running Windows 7. .